Val Function

Syntax              Val(S$)

Group                String

Description       Return the value of the S$.

Parameter         Description

S$                       Return the numeric value for this string value. A string value begins with &O is an octal number. A string value begins with &H is a hex number. Otherwise it is decimal number.

Example            '#Language "WWB-COM"
Sub Main
    Debug.Print Val("-1000") '-1000
EndSub