Val()

Syntax

Result.l = Val(String$)
Description
Transform a string into a numeric value. The string must be an integer in decimal format.

Note: Strings containing a float value should be converted with ValF(), doubles with ValD() and quads with ValQ().

Example:
  Result = Val("1024") ; Result will be filled with 1024.

Supported OS

All

<- UCase() - String Index - ValD() ->