VALS Function
Converts an PinString into an integer value
VALS(expression)
Arguments
expression String- This string containing the value to be converted
Remarks
The string could also be a pinstring and will convert H or 1 to a 1. This function returns an integer value.
Example
Dim value as String
Dim Result as Integer
value = "HLHL"
Result = VALS(value) // Result contains integer 10