Indeed it is. Whether or not you choose to expose the array itself is another question -- in the long run, I recommend not doing so -- but getting started is this simple.

Charles Yeomans

On Apr 1, 2006, at 11:09 PM, Kirt Cathey wrote:

John,

Thanks alot. Just to confirm: in RB (too) it is as simple as declaring
an array of another object/class within a class?

Thanks again.

-Kirt

2006/4/2, JohnAvery <[EMAIL PROTECTED]>:

On Apr 1, 2006, at 5:02 PM, Kirt Cathey wrote:

Hi All.

Have been using RB for about six months now on quick one-off projects
and have not focused too much on the OOP benefits of the language. I
now have a project where I can take (more) advantage of this and
wanted to give it a try, but am stuck on one issue.

Have created a class called Entity -- as in business entity -- and
within each Entity class I need to include an array, or multiple
instances, of a Process class; then within each Process class, need to
include multiple instances of a Risk class.... and on and on.

How do I declare the Process class within Entity and allow for
multiple instances to be stored within Entity?


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to