Remote Processing Coorporation RPC-320 Dokumentacja Strona 34

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 186
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 33
Commands - 4
ASC
Numeric Function
SYNTAX: n = ASC(m$)
PURPOSE: To return the ASCII code for the first character of the string m$.
REMARKS: The result of the ASC function is a numerical value that is the ASCII code of the first character of the
string.
The CHR$ function is the inverse of the ASC function, and is used to convert from the ASCII code to
a character.
RELATED: CHR$, STR$, VAL
EXAMPLE: 10 F$ = "Alert"
20 PRINT ASC(F$)
RUN
65
ERROR: <Illegal argument> – if m$ is a null
Przeglądanie stron 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 185 186

Komentarze do niniejszej Instrukcji

Brak uwag