Argox PA-20 Basic Programming Manual Manual de usuario Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 143
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
PT-Basic Programming Manual Ver. 1.00 26/143
CHR$
Purpose
To return the character for a given ASCII value.
Syntax
A$ = CHR$(N%)
Example
A$=CHR$(66) 'A$='B'
Description
A$ is a string variable to be assigned to the result.
N% is a numeric expression in the range of 0 to 255.
HEX$
Purpose
To return a string that represents the hexadecimal value (base
16) of the decimal argument.
Syntax
A$ = HEX$(N%)
Example
A$ = HEX$(136) „A$=”88”
Description
A$ is a string variable to be assigned to the result.
N% is a numeric expression.
OCT$
Purpose
To return a string that represents the octal value (base 8) of
the decimal argument.
Syntax
A$ = OCT$(N%)
Example
A$ = OCT$(136) „A$=”210”
Description
A$ is a string variable to be assigned to the result.
N% is a numeric expression.
LCASE$
Purpose
To return a copy of a string in which all uppercase letters will
be converted to lowercase letters.
Syntax
A$ = LCASE$(Str$)
Example
Str$="ABCDEFG"
PRINT LCASE$(Str$)
PRINT LCASE$("168BBqRrGgIbB")
Description
A$ is a string variable to be assigned to the result.
Str$ may be a string variable, string expression, or string
constant.
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 142 143

Comentarios a estos manuales

Sin comentarios