{{htmlmetatags>metatag-robots=() metatag-title=(DO NULL | ugBASIC User Manual) metatag-keywords=(ugBASIC,Commodore 64,Commodore PLUS/4,ZX Spectrum) metatag-description=(Manual page for DO NULL) metatag-media-og:image=(:ugbasic:logo-ugbasic-fb.png) metatag-og:title=(DO NULL | ugBASIC User Manual) metatag-og:description=(Manual page for DO NULL) }} ====== ugBASIC User Manual ====== ===== DO NULL ✓ ===== ===== SYNTAX ===== DO NULL ==== PURPOSE ==== Wait for a keystroke. If a program comes to a ''DO NULL'' instruction, it waits until the user presses a key. Differently from TSB, further commands can follow on the same BASIC line in the progra, and it can be used in an ''IF'' line (after ''THEN'' or ''ELSE''). ==== EXAMPLE ==== DO NULL See also the following example files: * ''[[https://github.com/spotlessmind1975/ugbasic/tree/main/examples/tsb_block_rec_01.bas|tsb_block_rec_01.bas]]'' ==== ABBREVIATION ==== Do NULL ==== AVAILABLE ON ==== * Commodore 128 (MOS 8502) ==== ANY PROBLEM? ==== If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please [[https://github.com/spotlessmind1975/ugbasic/issues/new?title=ISSUE ON DO NULL|open an issue]] for this keyword on GitHub. Thank you!===== POWERED BY ===== [[:ugbasic:user:index|{{ :ugbasic:user:logo-ugbasic.png?nolink&600 |}}]]