gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gm2] wish: var and/or constant array of strings


From: SiTex Graphics
Subject: [Gm2] wish: var and/or constant array of strings
Date: Thu, 17 Jun 2010 19:19:07 -0400

Hi Gaius,

Both StonyBrook and XDS allow simple assignment of constant and
variable arrays of strings.  Sample code attached.  Compile with

gm2 -fiso -o ces -fmakeall ces.mod

I like to use this method of array initialization for enumerated types
because it helps ensure than any changes to the base enumerated type
are accompanied by changes in related structures.

Coding around this limitation is straightforward of course, so this is
a fairly low priority wish.  It would be nice if GM2 at least issued
an appropriate error message instead of crashing during the compile.

Thanks,
Scott

Attachment: ces.mod
Description: audio/mod


reply via email to

[Prev in Thread] Current Thread [Next in Thread]