Futurebasic/Language/Reference/val amp

Syntax
integerValue&amp; = VAL&amp;(string$)

Description
This function is similar to the  function, but it can only evaluate a string which represents an integer. The advantage of using  is that it executes more quickly than.

can represent an integer in decimal, hex, octal or binary format. The absolute value of the represented integer must not exceed 4,294,967,295.

ignores leading spaces in, and it stops evaluating the string when it encounters a character that is not part of standard integer notation. Note that this means  will stop evaluating the string when it encounters a decimal point or an " " exponent indicator. That means that certain strings which represent integers will be evaluated differently by  than by. For example, the string " " will be evaluated as 2461 by, but as 24 by.