VPOS
VPOS (#<stream expression>)
PRINT VPOS(#0)
FUNCTION: Returns the vertical position of the text cursor for the stream expression
Associated keywords: POS
WAIT
WAIT <port number>,<mask>,[,<inversion)]
WAIT &FF34,20,25
COMMAND: Suspends operation until a given I/O port returns a particular value in the range
0...255. BASIC loops whilst reading the I/O port. The value-read is Exclusive ORed with the
<inversion> and then ANDed with the <mask> until a non-zero result occurs. BASIC will get stuck
in a WAIT loop if the required condition does not occur. If you type in the above example, you will
have to fully reset the computer to escape.
Associated keywords: INP, OUT