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,af247e41be5f18ab X-Google-Attributes: gid103376,public From: cpallen@nospam.com (Craig Allen) Subject: Re: simple question - how to emulate void * ? Date: 1998/11/05 Message-ID: <9v6hGdgMLuwN-pn2-dpQX3EjC2po4@dt182n2f.tampabay.rr.com>#1/1 X-Deja-AN: 408832608 Content-Transfer-Encoding: 8bit References: <9v6hGdgMLuwN-pn2-Oc41W71Dq3U9@dt182n2f.tampabay.rr.com> Content-Type: text/plain; charset="us-ascii" X-Complaints-To: abuse@tampabay.rr.com X-Trace: newse2.tampabay.rr.com 910307955 24.92.210.47 (Thu, 05 Nov 1998 18:19:15 EDT) MIME-Version: 1.0 NNTP-Posting-Date: Thu, 05 Nov 1998 18:19:15 EDT Newsgroups: comp.lang.ada Date: 1998-11-05T00:00:00+00:00 List-Id: On Fri, 23 Oct 1998 01:33:52, cpallen@nospam.com (Craig Allen) wrote: > Well, yes, I'm new to ada, and coming from C. > and the rest of the discussion... I'd like to thank everyone for their suggestions. It certainly has been a learning experience for me. I am a little surprised that there is so much to this problem. I'm not opposed to doing things 'The Right Way', but a simple solution was what I was looking for, that's why I was looking for a replacement for (void *). If anyone is still following this thread, I'd like to ask another question: I've tried the suggestions given here, and failed miserably. The culprit in all cases was the fact that I'm using an Ada83 compiler (no choice, sorry...). It doesn't support many of the things that were mentioned, like with System.(insert anything here) for var'Address use othervar'Address for this, I also tried for var use at othervar'Address but my compiler seems to really expect a static address for the location. Anyway, I've learned a lot, but am still stumped. I'm currently giving up and hard coding a lot of 'user-level' information into the supposed library routine, thereby making it not reusable. Exactly the opposite of what I thought Ada would be better than C for. I'm really not saying all of this to try to incite responses that wouldn't otherwise have been written, but I'm giving my experiences so far. If anyone has any ideas about the solution to this problem that will work in Ada83, I'm all ears! Thanks again for the prior help. -Craig Allen Ada novice