[Coco] Re: 6809 example

Robert Gault robert.gault at worldnet.att.net
Sat Jan 17 12:25:53 EST 2004


Robert Gault wrote:
> William Astle wrote:
> 
>> Apologies if I misquoted anyone. I reordered the comments so it flowed
>> sensibly.
>>
> 
> Excellent observation, edit line 80 to read
> 80 IF Y<>0 THEN Y=0: GOTO30
> 
> 
> 

Also if you want the random numbers to range 0-9, change the random 
number generater to RND(0)*10+48. I was thinking RND gave inclusive 
values but it clearly is exclusive of the high endpoint.





More information about the Coco mailing list