Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!julius.cs.uiuc.edu!psuvax1!psuvm!cunyvm!ndsuvm1!nibmscm From: NIBMSCM@NDSUVM1.BITNET Newsgroups: comp.lang.c Subject: Addressing struct without -> Message-ID: <91010.084408NIBMSCM@NDSUVM1.BITNET> Date: 10 Jan 91 14:44:08 GMT Organization: North Dakota Higher Education Computer Network Lines: 14 In working with some of the more common 'C' packages, I've found one limiting factor that seems to come back and haunt me. In working with some other languages, such as Pascal, I had the capability to use the 'using' keyword, giving the address of a structure and then address the elements of that structure without the necessity of using the ptr->element notation (could simply use element). Could anyone out there tell me how I can implement this in 'C' or which language products have added such a function (currently using the bundled 'C' on SunOS). Thanks in advance... ___________ | | Regards, | N.D.----> *: Steve Malme -->NIBMSCM@NDSUVM1.NODAK.EDU<-- |____________| FBS Data Systems