comp.lang.ada
 help / color / mirror / Atom feed
From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: What exactly is the ' operator
Date: Wed, 06 Oct 2004 19:28:05 +0200
Date: 2004-10-06T19:28:05+02:00	[thread overview]
Message-ID: <5065334.QLgTZcKs36@linux1.krischik.com> (raw)
In-Reply-To: mailman.210.1097057949.390.comp.lang.ada@ada-france.org

Marius Amado Alves wrote:

> matthias_k wrote:
>> I can't find the specifics about the mysterious ' operator, which
>> purpose seems to access certain attributes of a datatype.
> 
> It's not an operator, and there's nothing mysterious about it. It's just
> the notation for attributes. All attributes are listed on the RM. Annex K.
> 
> If by "datatype" you mean type, note that other entities also have
> attributes, e.g. objects, tasks.
> 
>> Furthermore, can I define my own '-operations?
> 
> No.

But you can defined the value behind the tick:

For X'Size use 32; -- thats bit

OF corse not for all values.

With Regards

Martin

-- 
mailto://krischik@users.sourceforge.net
http://www.ada.krischik.com




      parent reply	other threads:[~2004-10-06 17:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-06  9:40 What exactly is the ' operator matthias_k
2004-10-06 10:18 ` Marius Amado Alves
2004-10-06 10:33   ` matthias_k
2004-10-06 10:38     ` Marius Amado Alves
2004-10-06 10:41       ` stephane richard
2004-10-06 17:58       ` Jeffrey Carter
2004-10-06 20:51         ` Georg Bauhaus
2004-10-06 10:40     ` stephane richard
2004-10-06 17:28   ` Martin Krischik [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox