comp.lang.ada
 help / color / mirror / Atom feed
* Re: Anonymous array clarification.(Better idea, I think.)
@ 2001-08-20 21:40 McDoobie
  2001-08-20 21:58 ` David C. Hoos
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: McDoobie @ 2001-08-20 21:40 UTC (permalink / raw)


Okay, from the above posts in this thread, I think I might be getting
somewhere.

I'm thinking my problem stems from understanding the difference between an
"Object" and a type. As I'm coming from a C background, Objects and
Classes are real fuzzy for me.

So if I say...

	type foo_array is array(1..N) of character;  

this would be an Object declaration.  Then I would instantiate it
thusly....

	bar_array :  foo_array;

correct?

However if I say...

	some_chars : array(1..N) of character;

this would be just a simple array declaration, with none of the Object
Oriented properties  carried along with it.

And with the Object "foo_array" declared above, I could say ...

	type Upper_Case is subtype foo_array;

and it should work?

Am I beginning to get the picture?

McDoobie 
chris@dont.spam.me



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-08-21  0:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-20 21:40 Anonymous array clarification.(Better idea, I think.) McDoobie
2001-08-20 21:58 ` David C. Hoos
2001-08-20 23:33 ` Jeffrey Carter
2001-08-21  0:49 ` Darren New

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