Translating Modula2 into D: variant records, pointer

BLS Killing_Zoe at web.de
Tue Jan 9 09:14:24 PST 2007


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


More information about the Digitalmars-d-learn mailing list