SEQ


The SEQ function returns numeric ASCII value of a character.

 

COMMAND SYNTAX

SEQ(expression)

 

SYNTAX ELEMENTS

expression may evaluate to any data type. However the SEQ function will convert the expression to a string and operate on the first character of that string.

 

NOTES

SEQ operates on any character in the integer range 0 to 255

 

EXAMPLES

EQU ENQ TO 5
* Get next comms code
* Time-out after 20 seconds
INPUT A,1 FOR 200 ELSE BREAK
IF SEQ(A) = ENQ THEN
* Respond to ENQ char
......


jBC