[Coco] How to dimension strings in Basic09.
Matthew Randall
mrandall at exhalegames.com
Tue Apr 18 15:55:31 EDT 2023
It has been a while but I believe the syntaxes should be something along thd lines of:DIM myArrary(72, 3):STRINGMatthew RandallExhale Games Inc.
-------- Original message --------From: coco--- via Coco <coco at maltedmedia.com> Date: 2023-04-18 12:36 p.m. (GMT-07:00) To: Coco List <coco at maltedmedia.com> Cc: coco at jechar.ca Subject: [Coco] How to dimension strings in Basic09. AllI wanted to have an array of three strings where each string could be up to 72 characters in length.If I use the commandDIM L$(3)I get an array of three strings but each string can only be up to 32 characters in length.I tryedDIM 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 listCoco at maltedmedia.comhttps://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list