[Coco] Basic09 INPUT - Is this safe.

Bill Gunshannon bill.gunshannon at hotmail.com
Thu Aug 15 10:53:35 EDT 2019


On 8/15/19 10:43 AM, Allen Huffman wrote:
> 
> 
>> On Aug 15, 2019, at 9:09 AM, Bill Gunshannon <bill.gunshannon at hotmail.com> wrote:
>>
>> Which BASIC does that?  None that I have ever used.
> 
> 10 LINE INPUT A$
> 
> Run and type until it stops your typing and press Enter. You will get ?OS ERROR
> 
> Basic allocates 200 bytes (CLEAR 200) by default but the input size is 249 bytes or so.
> 

But that doesn't smash any other variables.  It just runs out
of space and kills the program.

bill



More information about the Coco mailing list