AMSTRAD CPC464 User Manual page 179

Cpc464 colour personal computer 64k
Hide thumbs Also See for CPC464:
Table of Contents

Advertisement

VPOS
V P O S ( # < s t r e a m e x p r e s s i o n > )
P R I N T V P O S ( # 0 )
FUNCTION: Returns the vertical position of the text cursor for the stream expression
Associated keywords: POS
WAIT
WAIT < p o r t n u m b e r > , < m a s k > , [ , < i n v e r s i o n ) ]
W A I T & F F 3 4 , 2 0 , 2 5
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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents