NEXTCHAR

Syntax:

NEXTCHAR(Y remove_character)

Return Value:

C next_character_input

Description:

NEXTCHAR reads the next character input. It gives chr(0) if no character is input. It gives CHR(1) to CHR(31) for control characters, cursor keys and function keys/If the operand is TRUE the character is removed from the input buffer. If it is FALSE the character is left in the buffer

Example:

NEXTCHAR(FALSE)
{next character character remains in the input buffer}
NEXTCHAR(TRUE)
{next character character is removed from the input buffer}