From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,546b2e2a44f83809 X-Google-Attributes: gid103376,public From: bobduff@world.std.com (Robert A Duff) Subject: Re: Gnat For use at Question Date: 1996/07/11 Message-ID: #1/1 X-Deja-AN: 167813069 references: <4s2eb5$qt6@masala.cc.uh.edu> organization: The World Public Access UNIX, Brookline, MA newsgroups: comp.lang.ada Date: 1996-07-11T00:00:00+00:00 List-Id: In article <4s2eb5$qt6@masala.cc.uh.edu>, Spasmo wrote: >Is System.Address a special type that has fields, or uses some >kind of access procedures in the package to initialize? Look at package System in the RM. It's a private type (not an integer type), and there are various conversion functions in System and its children that can be used to create Address values. Also, you will need to declare a *constant* of type Address, and use that in the address clause. Put the constant before the variable you're setting the address of. In Ada 95, the preferred syntax is "for X'Address use Blah;", rather than "for X use at Blah;". - Bob