From: "McDoobie" <chris@dont.spam.me>
Subject: Re: Anonymous array clarification.(Better idea, I think.)
Date: Mon, 20 Aug 2001 21:40:00 GMT
Date: 2001-08-20T21:40:00+00:00 [thread overview]
Message-ID: <Qsfg7.47279$K6.18175611@news2> (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
next reply other threads:[~2001-08-20 21:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-20 21:40 McDoobie [this message]
2001-08-20 21:58 ` Anonymous array clarification.(Better idea, I think.) David C. Hoos
2001-08-20 23:33 ` Jeffrey Carter
2001-08-21 0:49 ` Darren New
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox