* What exactly is the ' operator
@ 2004-10-06 9:40 matthias_k
2004-10-06 10:18 ` Marius Amado Alves
0 siblings, 1 reply; 9+ messages in thread
From: matthias_k @ 2004-10-06 9:40 UTC (permalink / raw)
Hello,
I can't find the specifics about the mysterious ' operator, which
purpose seems to access certain attributes of a datatype.
However I've seen it being used in the most various situations, so I was
wondering what exactly it is used for, how it is called, etc.
Furthermore, can I define my own '-operations?
Thanks in advance,
Matthias
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: What exactly is the ' operator
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 17:28 ` Martin Krischik
0 siblings, 2 replies; 9+ messages in thread
From: Marius Amado Alves @ 2004-10-06 10:18 UTC (permalink / raw)
To: comp.lang.ada
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.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: What exactly is the ' operator
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:40 ` stephane richard
2004-10-06 17:28 ` Martin Krischik
1 sibling, 2 replies; 9+ messages in thread
From: matthias_k @ 2004-10-06 10:33 UTC (permalink / raw)
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.
>
Thanks. Does "it" have a name then? If it's not an operator, I can't
call it '-operator. I have to refer to it somehow in my article.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: What exactly is the ' operator
2004-10-06 10:18 ` Marius Amado Alves
2004-10-06 10:33 ` matthias_k
@ 2004-10-06 17:28 ` Martin Krischik
1 sibling, 0 replies; 9+ messages in thread
From: Martin Krischik @ 2004-10-06 17:28 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-10-06 20:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox