Hello, Is having this kind of set up in your Object O.K. on settheProp me, theProp, theVal me[theProp] = theVal end on broadcastProp me, theProp return me[theProp] end settheProp #newProp, 42 -- creates and assigns a new property with the instance settheProp #existingProp, 42 -- assigns to an existing prop or creats a new one if it's not there. The above means you don't have to write a method (to get/set) a for each individual prop in your object. Just a space saver really. Obviously you'd do checks on the param variables before you really used it. -- regards shoreditch london ec2a [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]) Lingo-L is for learning and helping with programming Lingo. Thanks!]
- <lingo-l> OOP - conventions, not urgent Jon Rowe
- RE: <lingo-l> OOP - conventions, not urgent Mark R. Jonkman
- Re: <lingo-l> OOP - conventions, not urgent Irv Kalb
- RE: <lingo-l> OOP - conventions, not urgent Robert Wingate
- RE: <lingo-l> OOP - conventions, not urgent Jon Rowe
- <lingo-l> Anyone working in Ireland? Roy Pardi
- Re: <lingo-l> OT: Anyone working in I... R. Bhakti Klein
- RE: <lingo-l> OT: Anyone working ... Karina Steffens
- RE: <lingo-l> OT: Anyone working ... Karina Steffens
- Re: <lingo-l> OOP - conventions, not urge... kevin dowd
- Re: <lingo-l> OOP - conventions, not ... R. Bhakti Klein
- RE: <lingo-l> OOP - conventions, not ... Irv Kalb
- RE: <lingo-l> OOP - conventions, not urgent Mark MacKenzie
- RE: <lingo-l> OOP - conventions, not urge... Jakob Hede Madsen
- Re: RE: <lingo-l> OOP - conventions, not urge... Kurt Griffin
- Re: RE: <lingo-l> OOP - conventions, not ... Irv Kalb
- <lingo-l> using field vedanta ulises
- Re: <lingo-l> using field Carl West
- RE: RE: <lingo-l> OOP - conventions, not urge... Stephane Comeau
- Re: Re: RE: <lingo-l> OOP - conventions, not ... Kurt Griffin
