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.2 required=5.0 tests=BAYES_00,FROM_WORDY, 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: "Ken Garlington" Subject: Re: Help with access types Date: 2000/04/22 Message-ID: <1gqM4.595$X55.75857@news.flash.net>#1/1 X-Deja-AN: 614452016 References: <956388888.780287@karri.southwest.com.au> <8dsbq7$26i$1@nnrp1.deja.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@flash.net X-Trace: news.flash.net 956444797 216.215.75.227 (Sat, 22 Apr 2000 18:06:37 CDT) Organization: FlashNet Communications, http://www.flash.net X-MSMail-Priority: Normal NNTP-Posting-Date: Sat, 22 Apr 2000 18:06:37 CDT Newsgroups: comp.lang.ada Date: 2000-04-22T00:00:00+00:00 List-Id: 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.