Remote-processing CAMBASIC Instrukcja Użytkownika Strona 169

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 208
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 168
Commands - 136
VAL
Numeric Fun ction
SYNTAX: n = VAL(m$)
PURPOSE: To convert a string to a number.
REMARK S: The VAL function strips leading spaces fr om m$ before calculating the r esult.
A leading alphanumeric character will always cause zero to be returned, regardless of the characters
that follow the alphanumeric character.
Trailing alphanumeric characters are ignored.
RELATED: STR$, ASC, CHR$
EXAMPLE: PRINT VAL(" 98")
98
PRINT VAL("A56")
0
PRINT VAL("12BB")
12
PRINT VAL("LAST")
0
ERROR: none
Przeglądanie stron 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 207 208

Komentarze do niniejszej Instrukcji

Brak uwag