[Coco] How to dimension strings in Basic09.

L. Curtis Boyle curtisboyle at sasktel.net
Tue Apr 18 22:10:10 EDT 2023


They are listed at the end of the BASIC09 part of the Level 2 manual. (Or if you are running NitrOS9/EOU, it will print the error message text whenever an error occurs, not just the error #).

L. Curtis Boyle
curtisboyle at sasktel.net



> On Apr 18, 2023, at 7:28 PM, coco at jechar.ca wrote:
> 
> Thanks that worked. Still having some problems do you know where
> I can find a list of what the basic09 error numbers mean ?
> 
> On 2023-04-18 15:37, L. Curtis Boyle wrote:
>> The syntax you are looking for would be:
>> DIM L$(3):STRING[72]
>>> On Apr 18, 2023, at 12:36 PM, coco--- via Coco <coco at maltedmedia.com> wrote:
>>> All
>>> I wanted to have an array of three strings where each string could be up to 72 characters in length.
>>> If I use the command
>>> DIM L$(3)
>>> I get an array of three strings but each string can only be up to 32 characters in length.
>>> I tryed
>>> DIM L$[72](3) but that just gives a syntax error.
>>> Assumeing that it can be done what is the proper syntax for what I am trying to do ?
>>> Maybe I need to use the TYPE command somehow ?
>>> Charlie
> 



More information about the Coco mailing list