Argox PA-20 Basic Programming Manual Manuel d'utilisateur Page 27

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 143
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 142 143

Commentaires sur ces manuels

Pas de commentaire