home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!bu.edu!olivea!sgigate!sgiblab!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!nigel.msen.com!emory!europa.asd.contel.com!paladin.american.edu!auvm!UCLAMVS.BITNET!CSYSMAS
- From: CSYSMAS@UCLAMVS.BITNET (Michael Stein)
- Newsgroups: bit.listserv.ibm-main
- Subject: Pascal record formats? (pgm wanted)
- Message-ID: <IBM-MAIN%92110519001481@RICEVM1.RICE.EDU>
- Date: 6 Nov 92 00:58:00 GMT
- Sender: IBM Mainframe Discussion list <IBM-MAIN@RICEVM1.BITNET>
- Lines: 23
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
-
- Anyone have anything like this? Or any suggestions?
-
- I need to determine the storage layout of some pascal records
- (structures). For each field I need:
-
- - offset to the start of the field
- - the length of the field
- - the base type of this field
- - the name of the field
-
- If the field is a record then I need the sub-fields listed too
- (as well as sub-sub fields etc).
-
- I picture a program which reads the pascal source and prints
- the above information for each record encountered.
-
- I probably need source to such a program if it isn't designed for
- IBM's VS/Pascal. I assuming that it will take a small amount of
- altering to match my system as far as extentions and/or storage
- layout for basic types.
-
- I'd prefer this in C, but pascal is ok (or PL/1? or assembler?
- or ...)
-