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,6446a9eb301400db X-Google-Attributes: gid103376,public From: stt@houdini.camb.inmet.com (Tucker Taft) Subject: Re: Attributes Date: 1998/10/29 Message-ID: #1/1 X-Deja-AN: 406412375 Sender: news@inmet.camb.inmet.com (USENET news) X-Nntp-Posting-Host: houdini.camb.inmet.com References: <36388222.899A47F1@newtech.it> Organization: Intermetrics, Inc. Newsgroups: comp.lang.ada Date: 1998-10-29T00:00:00+00:00 List-Id: Alessandro (busato@newtech.it) wrote: : does an attribute exist for getting a type from an object (i.e. : variable)? No. About the closest you can come is initializing a class-wide object by copying an existing object. The new class-wide object's tag is determined by the original object's tag. (This capability is analogous to the "x like y" capability of Eiffel.) For example: X : T'Class := Y; : ... : Thanks, : Alessandro : busato@newtech.it : Trieste (Italy) : NE&T -- -Tucker Taft stt@inmet.com http://www.inmet.com/~stt/ Intermetrics, Inc. Burlington, MA USA An AverStar Company