Denso BHT-200QW Spécifications Page 236

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 587
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 235
228
____________________________________________________________________
LINE INPUT
LINE INPUT
Reads input from the keyboard into a string variable.
____________________________________________________________________
Syntax:
Syntax:Syntax:
Syntax:
LINE INPUT ["prompt"{,|;}]stringvariable
Parameter:
Parameter:Parameter:
Parameter:
"prompt"
A string constant.
stringvariable
A string variable.
Description:
Description:Description:
Description:
When execution reaches a LINE INPUT statement, the program pauses and waits for the
user to enter data from the keyboard while showing a prompting message specified by
"prompt".
After typing data, the user must press the ENT key. Then, the LINE INPUT statement
assigns the typed data to stringvariable.
• A LINE INPUT statement cannot assign a numeric variable. (An INPUT statement can
do.)
• "prompt" is a prompting message to be displayed on the LCD.
The semicolon (;) or comma (,) after "prompt" has the following meaning:
If "prompt" is followed by a semicolon, the LINE INPUT statement displays the
prompting message followed by a question mark and a space.
LINE INPUT "data=";a$
data=?
Vue de la page 235
1 2 ... 231 232 233 234 235 236 237 238 239 240 241 ... 586 587

Commentaires sur ces manuels

Pas de commentaire