SEQ()

Top  Previous  Next

 

The SEQ() function returns the ASCII character set position value of a character.

 

 

Format

 

SEQ(char)

 

where

 

charevaluates to the character to be processed.

 

 

The SEQ() function returns the character value of char. It is the inverse of the CHAR() function.

 

If char is a null string, SEQ() returns zero. If char is more than one character in length, SEQ() returns the value of the first character.

 

 

Example

 

N = SEQ(KEYIN())

 

This statement reads a single character from the keyboard and then uses SEQ() to find its ASCII character set value.

 

 

See also:

CHAR()