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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,de41c0d7c45160c8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-03-06 05:11:08 PST Newsgroups: comp.lang.ada Path: bga.com!news.sprintlink.net!hookup!news.kei.com!world!bobduff From: bobduff@world.std.com (Robert A Duff) Subject: Re: Pointers Message-ID: Organization: The World Public Access UNIX, Brookline, MA References: <794482546snz@jonf.demon.co.uk> Date: Mon, 6 Mar 1995 12:27:55 GMT Date: 1995-03-06T12:27:55+00:00 List-Id: In article <794482546snz@jonf.demon.co.uk>, Jon Freeman wrote: >Can anyone tell me if it is possible to read the contents of a specified >memory location in ada or to read the contents of, say, an integer variable >stored in a known location? Declare an integer (or whatever) variable, and then use an address_clause to tell the compiler where to put it. Then read it as usual. Alternatively, you could use the Address_To_Access_Conversions library unit (of Ada 95). - Bob