TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Proportional Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Chris Sparks <[log in to unmask]>
Tue, 1 Dec 1998 11:56:41 -0800
text/plain (26 lines)
Hi all,

I would like an answer to the following as to why it wasn't considered
for
addition to the Ada standard:

Why didn't user-defined attribute functions (not 'Read and 'Write) get
incorporated into the standard.

Example:
  type An_Integer is range 0 .. 100;
  function An_Integer'New_Stuff (A : in Integer) return An_Integer;

Usage:
  A : An_Integer;
  B : An_Integer := An_Integer'New_Stuff (A);

Well you get the gist.....
--
Chris Sparks
68 442 SC - Frosty
68 442 HT - Scarlet
68 442 HT - Saffron
82 DRB    - Dr. "B"
http://www.catalina-inter.net/mrada

ATOM RSS1 RSS2