Remote Processing Coorporation RPC-320 Specifikace Strana 153

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 186
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 152
Commands - 123
VAL
Numeric Function
SYNTAX: n = VAL(m$)
PURPOSE: To convert a string to a number.
REMARKS: The VAL function strips leading spaces from m$ before calculating the result.
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
Zobrazit stránku 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 185 186

Komentáře k této Příručce

Žádné komentáře