Table of Contents

WAIT

Halts program execution until a certain value is either obtained from an input hardware port or written to a memory address

Implemented by: ansifull, decbasic, altair8K, Applesoft, CBM, msatari, GWBASIC, QBasic, VBDOS, FreeBASIC

With variations: Atom (sleep for 1/60s), MSX (port value watchdog), bw32, Gambas, ugBASIC (with a 'sleep' sense; also used with FIRE, KEY, KEY OR FIRE, PARALLEL, UNTIL, VBL and WHILE), minibasicjs

Also written as:

Usage

Variations

In Applesoft BASIC, WAIT causes program execution to halt until the bit pattern on a certain memory address matches a certain bit-pattern given as a literal or resulted from an expression, as in WAIT address, value.

Examples

Comments

Similar keywords

In other languages...

References