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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d11e75ead27d62f5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-01 10:10:48 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elk.ncren.net!hammer.uoregon.edu!arclight.uoregon.edu!wn13feed!wn11feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!attbi_s53.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: how to declare an array of pointers References: <92bfc3dd.0311010818.63932bf9@posting.google.com> X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.124.41 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s53 1067710246 12.234.124.41 (Sat, 01 Nov 2003 18:10:46 GMT) NNTP-Posting-Date: Sat, 01 Nov 2003 18:10:46 GMT Organization: Comcast Online Date: Sat, 01 Nov 2003 18:10:46 GMT Xref: archiver1.google.com comp.lang.ada:1907 Date: 2003-11-01T18:10:46+00:00 List-Id: >my question is: >is Array_Hash_type an array of pointers WYSIWYG. > type Array_Hash_type is array (10..HASH_SIZE) of ptr_array; So Array_Hash_type is an array of "ptr_array"s. Since > type ptr_array is > record ... a ptr_array is a record, not a pointer. So Array_Hash_type is an array of records (which may contain pointers, etc). >if not then how can i define one i need an example Assuming that "p_node" (which you didn't define in your posting) is an access type (aka pointer), then type Array_Hash_type is array (10..HASH_SIZE) of p_node; would be an array of pointers.