Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!mtune!codas!peora!petsd!toddf From: toddf@petsd.UUCP (Todd Feldman) Newsgroups: comp.lang.ada Subject: What's Wrong with this Structure? Message-ID: <1108@petsd.UUCP> Date: Wed, 12-Aug-87 11:20:53 EDT Article-I.D.: petsd.1108 Posted: Wed Aug 12 11:20:53 1987 Date-Received: Sat, 15-Aug-87 01:17:33 EDT Organization: Perkin-Elmer DSG, Tinton Falls, N.J. Lines: 30 Can anyone tell me what's wrong with this Ada structure? TYPE rec IS RECORD s : STRING(1..5); c : CHARACTER; END RECORD; FOR rec USE RECORD AT MOD 4; s at 0 range 1..40; c at 0 range 42..49; END RECORD; I am getting a RESTRICTION from the compiler saying that s cannot be mapped according to the representation I've specified. Thanks a lot! Todd -- Todd J. Feldman Concurrent Computer Corporation I Stanford University Tinton Falls, NJ 07724 I Stanford, CA 94305 ...princeton... I f.fangoria@lear.stanford.edu \ I video@portia.stanford.edu ...rutgers......!petsd!toddf I / I ...moncol...... I