Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!nuchat!sugar!peter From: peter@sugar.UUCP (Peter da Silva) Newsgroups: comp.sys.amiga,comp.lang.modula2 Subject: Re: M2Amiga, a new Modula-2 compiler Message-ID: <1069@sugar.UUCP> Date: Sun, 15-Nov-87 17:35:51 EST Article-I.D.: sugar.1069 Posted: Sun Nov 15 17:35:51 1987 Date-Received: Mon, 16-Nov-87 06:53:44 EST References: <1982@crash.CTS.COM> <2730@cbmvax.UUCP> <1067@sugar.UUCP> Organization: Sugar Land UNIX - Houston, TX Lines: 22 Xref: mnetor comp.sys.amiga:11054 comp.lang.modula2:523 > > In any case, it looks like Amiga-based M2 compilers are evolving at least as > > quickly as C compilers, making M2 a really viable language for the Amiga. > > I hope my friends back in Switzerland will soon release the source level > debugger! There will be real competition to C! How about statically initialised structures? How do you do the equivalent in Modula of the 'C': struct Gadget STD_Gadget[GADGETS] = { /*NEXT, LFT, TP,WDTH, H, FLAG, ACT, TYP, REND, Z, TXT, Z, SPEC, ID, Z */ { G(1), IN1,TP1, WD1,HT, SF, SA, SG, Z, Z, Z, Z, SI(0), 0, 0 }, { G(2), IN1,TP2, WD1,HT, SF|SEL, SA, SG, Z, Z, Z, Z, SI(1), 1, 0 }, { G(3), IN1,TP3, WD1,HT, SF, SA, SG, Z, Z, Z, Z, SI(2), 2, 0 }, { G(4), IN3,TP4, WD3,HT4,BF1, BA, BG,BB(0), Z, TOK, Z, Z, 3, 0 }, { G(5), IN4,TP4, WD4,HT4,BF2, BA, BG,BB(1), Z, TNO, Z, Z, 4, 0 }, { G(6), IN6,TP4, WD6,HT4,BF1, BA, BG,BB(2), Z, TVL, Z, Z, 5, 0 }, { NULL, IN5,TP5, WD5,HT5,PF, PA, PG, IMAG, Z, Z, Z, PROP, 6, 0 } }; -- -- Peter da Silva `-_-' ...!hoptoad!academ!uhnix1!sugar!peter -- Disclaimer: These U aren't mere opinions... these are *values*.