[Coco] How to dimension strings in Basic09.
michaelkline704 at gmail.com
michaelkline704 at gmail.com
Tue Apr 18 21:43:44 EDT 2023
Download the BASIC09 Reference manual from the archive. Here's a search
link:
https://colorcomputerarchive.com/search?q=basic09
-----Original Message-----
From: Coco <coco-bounces at maltedmedia.com> On Behalf Of coco--- via Coco
Sent: Tuesday, April 18, 2023 8:28 PM
To: L. Curtis Boyle <curtisboyle at sasktel.net>
Cc: coco at jechar.ca; CoCoList for Color Computer Enthusiasts
<coco at maltedmedia.com>
Subject: Re: [Coco] How to dimension strings in Basic09.
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
--
Coco mailing list
Coco at maltedmedia.com
https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list