Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ukma!gatech!purdue!decwrl!hplabs!hpda!hpcuhb!hpcllla!hpclisp!hpcllmr!mark From: mark@hpcllmr.HP.COM (Mark Rozhin) Newsgroups: comp.lang.modula2 Subject: Re: What is the use of tag fields and case labels in records ? Message-ID: <940001@hpcllmr.HP.COM> Date: 3 Feb 89 21:31:09 GMT References: <724@htsa.uucp> Organization: Hewlett-Packard Calif. Language Lab Lines: 9 one compiler (pascal, actually) supports an option that will make the compiler emit checking code to be executed at run-time to enure that you access the right variant. this can only be done of the tag is there, as opposed to just the tag type. notice that modula-3 solved the entire problem of variants and tags by removing them from the language. mr