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,ff3b8295175e47f7 X-Google-Attributes: gid103376,public From: "James Kerr" Subject: Re: Help with access types Date: 2000/04/23 Message-ID: <956453575.984899@karri.southwest.com.au>#1/1 X-Deja-AN: 614488039 Cache-Post-Path: karri.southwest.com.au!unknown@tea-12.southwest.com.au References: <956388888.780287@karri.southwest.com.au> <8dsbq7$26i$1@nnrp1.deja.com> <1gqM4.595$X55.75857@news.flash.net> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Trace: news.iinet.net.au 956453634 20216 news@203.16.9.20 Organization: SouthWest Internet Systems X-MSMail-Priority: Normal X-Cache: nntpcache 2.4.0b3 (see http://www.nntpcache.org/) Newsgroups: comp.lang.ada Date: 2000-04-23T00:00:00+00:00 List-Id: I solved the problem myself, thanks for the comments though cheers James Ken Garlington wrote in message news:1gqM4.595$X55.75857@news.flash.net... > Well, other than that they're in the private part of the specification, > which limits (intentionally) > which parts of the program can access these variables. > > Does the statement "program that is using this specification" mean something > other than the body of the > package (or a private child of this package)? > > "Robert Dewar" wrote in message > news:8dsbq7$26i$1@nnrp1.deja.com... > > 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. > >