[Coco] CLEAR 0

Allen Huffman alsplace at pobox.com
Wed Dec 26 16:18:12 EST 2018


> On Dec 26, 2018, at 2:59 PM, rietveld rietveld <rietveldh at hotmail.com> wrote:
> 
> I am archiving a bunch of coco tapes.   One of the tapes says to type ' CLEAR 0' before typing CLOADM.   What does the clear 0 do?

It reserves STRING memory. By default, 200 bytes are set aside for strings (CLEAR 200). Clear 0 gives you 200 bytes more.

Here’s my writeup of my exploration of how strings work in BASIC:

http://subethasoftware.com/2017/02/28/color-basic-string-theory-part-1/ <http://subethasoftware.com/2017/02/28/color-basic-string-theory-part-1/>

I worked through things out load, and demystified the process (with help from William Astle and others in the comments).

		— A




More information about the Coco mailing list