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_50,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!attcan!uunet!lll-winken!ames!haven!h.cs.wvu.wvnet.edu!packer@h.cs.wvu.wvnet.edu From: packer@h.cs.wvu.wvnet.edu (Mike Packer,318K,,2928607) Newsgroups: comp.lang.ada Subject: Re: Ada type question Message-ID: <229@h.cs.wvu.wvnet.edu> Date: 7 Jan 89 16:28:24 GMT References: <8901061625.AA00522@ucsd.edu> Sender: news@h.cs.wvu.wvnet.edu List-Id: I posted a question here a few days ago about Ada TYPEs, but it seems many people didn't understand the actual problem I was having. I have since then found the answer that I needed (but not wanted) what I originally asked was (is there any way to do this) make a type definition that looks something like this: type X is (array, .....) i was not trying to define something of an array. What I wanted was a new type "X" that could take on a value "array" or whatever else is in the list. But the problem was that array is a keyword (reserved) therefore I couldn't do what I wanted, the only alternative that I have been able to come up with is: defining X as an array of string x(1):= "array " x(2):= "whatever " . . . Thanks for all of the responses! Just thought I would clear up some of the confusion to my original question Michael Packer USMAIL: 318 Knapp Hall, WVU, Morgantown, WV 26506 PHONE: 304 293-3607 INTERNET : packer@a.cs.wvu.wvnet.edu USENET: {allegra,bellcore,ihpn4!cadre,decvax!idis,psuvax1}!pitt!wvucsa!packer