[Coco] How to dimension strings in Basic09.

coco at jechar.ca coco at jechar.ca
Tue Apr 18 14:36:31 EDT 2023


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