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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ff3b8295175e47f7 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Help with access types Date: 2000/04/22 Message-ID: <8dsbq7$26i$1@nnrp1.deja.com>#1/1 X-Deja-AN: 614255706 References: <956388888.780287@karri.southwest.com.au> X-Http-Proxy: 1.0 x31.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sat Apr 22 14:09:18 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-04-22T00:00:00+00:00 List-Id: In article <956388888.780287@karri.southwest.com.au>, "James Kerr" wrote: > Okay basically I have a Specification that has this in the private section > > private > > type Node(Length: Integer); > type Tree is access node; > type Tree_Array is array (Integer range <>) of Tree; > type Node(Length: Integer) is > record > Marker: Boolean; > Symbols: Symbol_Array(1..Length); > Subtrees: Tree_Array(1..Length); > end record; > > Okay what is the easiest way to access these record variables, (IE Marker, > Symbols, Length) from a program that is using this specification. Can you give a bit more of an idea of why there is an issue here? There seems to be nothing special about these types that would preclude using normal record and array component notation. Sent via Deja.com http://www.deja.com/ Before you buy.