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,10dba3294c1a2195 X-Google-Attributes: gid103376,public From: "James S. Rogers" Subject: Re: New to ada95: porting Date: 2000/02/29 Message-ID: <_VGu4.1139$NO6.104993@bgtnsc06-news.ops.worldnet.att.net>#1/1 X-Deja-AN: 591144666 References: <38BAF3B2.69D7A905@mindspring.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc06-news.ops.worldnet.att.net 951794426 12.74.128.156 (Tue, 29 Feb 2000 03:20:26 GMT) Organization: AT&T Worldnet NNTP-Posting-Date: Tue, 29 Feb 2000 03:20:26 GMT Newsgroups: comp.lang.ada Date: 2000-02-29T00:00:00+00:00 List-Id: Al Johnston wrote in message <38BAF3B2.69D7A905@mindspring.com>... >things of particular interests are >1) access types to 1-d unconstrained arrays >2) access types to 1-d unconstrained array whose elements are also >1-d unconstrained arrays. >3) using 'address on an ada string type when interfacing to a c >* char type >4) generation of ada strings by c-code (via calls to ada library >linked into a c program) Look at the standard C interface utilities in the packages Interfaces.C and Interfaces.C.Pointers. Interfaces.C provides a lot of commonly needed conversions, including to and from C strings. Interfaces.C.Pointers is a generic package providing a wealth of C-style operations on pointers. When in doubt read the Reference Manual. Jim Rogers Colorado Springs, Colorado