FANDOM


Syntax

GETBYTE.NO.ECHO

Explanation

GETBYTE.NO.ECHO outputs the ASCII value of the first character in the input stream, but does not print it on the screen. If no character is waiting to be read, GETBYTE.NO.ECHO waits for input from keyboard.

See EOF, GETBYTE, and PUTBYTE.

Example

The procedure below reads in characters without echoing them to the screen and then prints out the next character in the ASCII set. It ends on Q (which is ASCII 81).

TO CONFUSE

LABEL "TOP
MAKE "A GETBYTE.NO.ECHO
IF :A = 81 THEN STOP
PUTBYTE :A + 1
GO "TOP

END

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.