[Coco] A question about the BASIC statement CLEAR
Sean Conner
sean at conman.org
Sat Nov 2 23:34:11 EDT 2024
I'm working on some assembly code that interfaces with BASIC (as part of a
larger project), but the documentation I have for CLEAR isn't clear. The
quick reference card states:
CLEAR n,h
... h specifies highest BASIC address.
_Getting Started with Color BASIC_ states:
CLEAR
... If you are loading a machine language program, you can use a
second number to specify the highest address BASIC can use.
but it isn't clear to me if BASIC will use memory UPTO this address, or use
THIS address. Do I need to set it one lower than the address I'm using?
Or to mark the start of memory I'm using.
-spc
More information about the Coco
mailing list