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? > > > > You would likely have an Entity class, a Process class, and a Risk > class. In Entity, add a property, say: Processes(-1) as Process. In > the Process class add a property called Processes(-1) as Process. In > the Risk class add a property called Risks(-1). Or whatever names > make sense. > > Best, > > Jack > _______________________________________________ > 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> > _______________________________________________ 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>
