Command getcardvariable

The command getcardvariable is used to retrieve the card number when passed through a magnetic reader.

Parameters

  1. firstmessage [string]
    Message that appears before the card is passed through the magnetic reader.
  2. maximum [integer]
    The maximum size of the card number.
  3. minimum [integer]
    The minimum size of the card number.
  4. secondmessage [string]
    Message that appears when the user presses the Enter key.
  5. variable [string]
    Variable that will store the function return.

Example


In the example above, when the card is passed through the magnetic reader, the number will be displayed.