Argox PA-20 Basic Programming Manual Instrukcja Użytkownika Strona 58

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 143
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 57
PT-Basic Programming Manual Ver. 1.00 57/143
Purpose
To retrieve input from the keypad, scanning and store it in a
variable.
Syntax
A%=INPUT_S(S$ , variable)
Example
Result%=INPUT_S("",String$)
Description
A% is an integer variable to be assigned to the result.
A%
Meaning
0
Press the ENT
key and has not
input any item.
1
Inputs correctly.
255
Press the ESC
key.
-1
Input error.
S$ is a string variable, indicating the input default value.
variable is numeric or string variable that will receive the input
data. The data entered must match the data type of the variable.
When the input task is properly ended with the ENTER key being
pressed, the data string will be stored in a variable. Otherwise,
press the ESC key to abort the task.
INPUT_S_ CARRYENT
Purpose
To set ENT auto press on/off when using “INPUT_S” command.
Syntax
INPUT_S_ CARRYENT(N%)
Example
INPUT_S_ CARRYENT(1)
Description
N% is an integer variable. When using “INPUT_S” command, it
can set auto press ENT on/off key after scanner reading.
N%
Auto press ENT
0
No
1
Yes
INPUT_S_VIBRATE
Purpose
To set vibrator on or off when using INPUT_S command.
Syntax
INPUT_S_VIBRATE(N%)
Example
INPUT_S_VIBRATE(1)
Description
N% is an integer variable. When using “INPUT_S” command, it
can set vibrator on or off after scanner reading.
N%
Meaning
0
Vibrate off
1
Vibrate on
Przeglądanie stron 57
1 2 ... 53 54 55 56 57 58 59 60 61 62 63 ... 142 143

Komentarze do niniejszej Instrukcji

Brak uwag