Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

288 PAGE Purpose PAGE is a variable which gives the address in memory where BASIC has stored (or will store) the user’s program. This is usually automatically set to be the lowest available address in the computer’s Random Access Memory but can be changed by the user. PAGE can be used to enable the computer to store two different programs at the same time in different areas of memory. Use with care. Examples PRINT PAGE 10 PAGE=&5000 20 PRINT ~PAGE 235 PAGE=TOP+1000 Description A pseudo-variable giving the address used by the interpreter for the start of the user program. The least significant byte of PAGE is always set to zero by the computer.

In other words user programs always start on a ‘page’ boundary where one page is 100 bytes hex (256 bytes decimal). Syntax PAGE = or = PAGE TOP , LOMEM , HIMEM Associated keywords