[Coco] What BASIC09 needs is

Wayne Campbell asa.rand at gmail.com
Mon Jan 18 16:36:21 EST 2010


which would you prefer?

ON var GOTO 1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6

or

SELECT var
  CASE <6: BREAK
  CASE <11: BREAK
  CASE <16: BREAK
  CASE <21: BREAK
  CASE <26: BREAK
  DEFAULT:
END SELECT

I would prefer the select syntax.

Wayne

----- Original Message ----- 
From: "Joel Ewy" <jcewy at swbell.net>
To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
Sent: Monday, January 18, 2010 12:16 PM
Subject: Re: [Coco] What BASIC09 needs is


> Wayne Campbell wrote:
>> And SELECT/CASE, and REDIM and...
> 
> How would SELECT/CASE be significantly different from ON... GOSUB or 
> ON... GOTO?
> 
> I would think that a reasonably simple pre-processor could add support 
> for constant declarations and text labels for line numbers.
> 
> JCE
> 
>>
>> Wayne
>>
>> ----- Original Message ----- From: "Joel Ewy" <jcewy at swbell.net>
>> To: "CoCoList for Color Computer Enthusiasts" <coco at maltedmedia.com>
>> Sent: Monday, January 18, 2010 7:40 AM
>> Subject: [Coco] What BASIC09 needs is
>>
>>
>>> CONST
>>>
>>> JCE
>>>
>>>
>>> -- 
>>> Coco mailing list
>>> Coco at maltedmedia.com
>>> http://five.pairlist.net/mailman/listinfo/coco
>>
>> -- 
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>>
> 
> 
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco



More information about the Coco mailing list