From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Date: 9 Aug 93 21:29:18 GMT From: ucivax!gateway@ucbvax.Berkeley.EDU (Kenneth Anderson) Subject: question about generics Message-ID: <9308091429.aa12174@Paris.ics.uci.edu> List-Id: I need a generic package to do some initialization based on an array of strings. I.E. I need to be able to say something like package Generic_Package_Support is Viewers : array (1 .. 5) of STRING := ("How", "Would", "I", "Do", "This?"); end Generic_Package_Support; with Generic_Package; with Generic_Package_Support; package my_instantiated_package is new Generic_Package(Generic_Package_Support.Viewers); Then in my generic package, I would loop through the members of the array and do some initialization. My problem : How do I specify Generic_Package to accept something like this? Ideas/Suggestions welcome... Thanks in advance, Ken Anderson