Table of Contents

VAL()

Syntax:

val!(<string ptr str>) |  val(<string ptr str>) | val%(<string ptr str>)

The VAL() function tries to parse the numeric value in a string pointed by str to the numeric type of the function.

Parsing rules for VAL!()

The VAL!() function will return 0 if:

Parsing rules for VAL()

The VAL() function will return 0 if:

Parsing rules for VAL%()

The VAL%() function is hardwired to the equivalent function in BASIC ROM, please refer to this page for parsing rules.