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: dewarr@my-dejanews.com Subject: Re: simple question - how to emulate void * ? Date: 1998/11/06 Message-ID: <71usnd$v0c$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 409007464 References: <9v6hGdgMLuwN-pn2-Oc41W71Dq3U9@dt182n2f.tampabay.rr.com> <9v6hGdgMLuwN-pn2-dpQX3EjC2po4@dt182n2f.tampabay.rr.com> X-Http-Proxy: 1.0 x10.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Nov 06 13:14:21 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1998-11-06T00:00:00+00:00 List-Id: In article , Matthew Heaney wrote: > dale@cs.rmit.edu.au (Dale Stanbrough) writes: > > > type My_String is array (1..100_000) of Character; > > -- any length will do, just ensure it's long enough for > > -- any problem you have to deal with. > > > > type Ptr is access My_String; > > for Ptr'Storage_Size use 0; Note that the advice to use the representation clause is only relevant if the type is declared locally, By the way, we have found it useful to be a little systematic with these bogus big array types, we call them Big_ and define them, e.g. type Big_Int_Array is array (Natural) of Integer; Of course you never want to allocate one of these :-) -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own