Translating Modula2 into D: variant records, pointer
Jarrett Billingsley
kb3ctd2 at yahoo.com
Tue Jan 9 14:49:17 PST 2007
"BLS" <Killing_Zoe at web.de> wrote in message
news:eo0ih9$2odp$1 at digitaldaemon.com...
> Many thanks, this info will give me a Go!
>
> I guess in Modula2, if 'terminal' is true, you
>> can only access tsym, and otherwise you can only access nSym?
>
> No. Nothing prevents you from making mistake.(In fact variant records are
> a pretty nice source for bugs) Would be nice if D can do this better!
> Bjoern
Hmm.. what's that 'terminal' member for then, anyway?
More information about the Digitalmars-d-learn
mailing list