Path: utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!pasteur!ucbvax!ndsuvax.BITNET!nckurtz From: nckurtz@ndsuvax.BITNET (Richard Kurtz) Newsgroups: comp.lang.modula2 Subject: Re: union types Message-ID: <8803242203.AA28027@ndsuvax.UUCP> Date: 24 Mar 88 22:03:47 GMT References: <8803221947.AA00248@nrl-iws6.ARPA> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Info-Modula2 Distribution List Organization: North Dakota State University Fargo, ND Lines: 13 Mark, I believe the closest you could come to simulating the C union statement would be using a Variant record. I know this involves an extra identifier, but I don't know any way around this. I am currently trying to write a program that translates C procedures to Modula2 procedures and that is how I chose to translate the C union type. I am interested in your project as it might relate somewhat to what I am doing. Could you send me more information on what you are doing, or could you send your code? thanks. -Richard Kurtz -- INTERNET: NCKURTZ%NDSUVAX.BITNET@wiscvm.wisc.edu BITNET: NCKURTZ@NDSUVAX UUCP: ...psuvax1!NDSUVAX.BITNET!NCKURTZ or ...ihnp4!umn-cs!ndsuvax!nckurtz