bas7advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
VAL Function Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
VAL returns the numeric value of a string of digits.
 
VAL(stringexpression$)
    ■ The argument stringexpression$ is a sequence of characters that
      can be interpreted as a numeric value.
 
Usage Notes
    ■ The VAL function stops reading the string at the first character that
      it cannot recognize as part of a number. The VAL function also strips
      blanks, tabs, and line feeds from the argument string. For example,
      the code below returns the value 1615198
 
        VAL("    1615 198th Street")