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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 143
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 142 143

Komentarze do niniejszej Instrukcji

Brak uwag