Denso BHT-200QW Especificações Página 237

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 587
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 236
Chapter 14. Statement Reference
229
If "prompt" is followed by a comma, the statement displays the prompting message
but no question mark or space is appended to the prompting message.
LINE INPUT "data=",a$
data=
The cursor shape specified by the most recently executed LOCATE statement takes
effect.
Even after execution of the CURSOR OFF statement, the LINE INPUT statement displays
the cursor.
Data inputted by the user will echo back to the LCD. To assign it to stringvariable,
it is necessary to press the ENT key.
Pressing the ENT key causes also a line feed.
If you type no data and press the ENT key, a LINE INPUT statement automatically
assigns a null string to stringvariable.
When any echoed back data is displayed on the LCD, pressing the Clear or BS key
erases the whole displayed data or a most recently typed-in character of the data,
respectively. If no data is displayed, pressing the Clear or BS key produces no
operation.
Notes for entering string data:
The effective length of string data is the maximum string length of stringvariable.
Overflowed data will be ignored.
The sizes of prompting message literals, echoed back literals and cursor depend upon
the screen mode (single-byte ANK mode or two-byte Kanji mode), the screen font size
(standard-size or small-size), and the character enlargement attribute (regular-size,
double-width, double-height, or quadruple-size). For details, refer to Chapter 7,
Subsection 7.1.3.
Syntax errors:
Syntax errors:Syntax errors:
Syntax errors:
Error code and message Meaning
error 71: Syntax error
INPUT is missing.
Neither a comma (,) or semicolon (;) follows
"prompt".
• "prompt" is not a string constant.
stringvariable has a numeric variable.
• A semicolon (;) immediately follows LINE
INPUT.
Reference:
Reference:Reference:
Reference:
Statements: INPUT and LOCATE
Functions: INKEY$ and INPUT$
Vista de página 236
1 2 ... 232 233 234 235 236 237 238 239 240 241 242 ... 586 587

Comentários a estes Manuais

Sem comentários