Hi,
Kurt, their is a new "handlers" function in d8 which should help you do this
more efficiently. Just try executing this line in one of your objects and
see what you get:
put me.handlers()
Makes it very easy to interrogate any object as to what handlers it has
available.
Steph
> Back to the original post, which mentioned passing a project
> off - here's an
> object template that I use for all parent scripts:
>
> property pMyMethods
>
> on new me
> mBuildMethods me
> return me
> end
> ----------------------------------------------------------------
> on mBuildMethods me -- Makes a string of all of the methods
> in this object
> for easy reference. Call it in the new method.
> pMyMethods = RETURN
> tempText = (the script of me).text
> repeat with i = 1 to the number of lines in tempText
> if tempText.line[i].char[1..4] = "on m" then
> pMyMethods = pMyMethods & tempText.line[i].char[4..the
> number of chars
> in tempText.line[i]] & RETURN & RETURN
> end if
> end repeat
> end
>
> on mGetMethods me -- Returns a string of all of the methods
> in the object.
> return pMyMethods
> end
> ----------------------------------------------------------------
>
> put gWhateverObj.mGetMethods() will show someone every
> "public" method in an
> existing object - as a convention, I start all public methods
> with "m", and
> private ones with "h". It keeps the object encapsulated, and
> all one needs
> to remember is the mGetMethods() call, which will show all of
> the other
> accessor methods along with whatever comment is placed on the
> same line as
> "on m".
[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!]