From: "Volkmann, Mark" Date: 2003-08-07T01:00:18+09:00 Subject: adding methods to an existing class This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C35C30.9FD372AA Content-Type: text/plain; charset="iso-8859-1" I'm fumbling over syntax trying to figure out how I could write a method that adds a method to a given class. I'd call it like this. addTestMethod(Foo) where Foo is a class. addTestMethod would add a fixed "test" method to the class passed to it. An example would be greatly appreciated! ------------------------------------------------------------------------------------------------------------------- A.G. Edwards & Sons' outgoing and incoming e-mails are electronically archived and subject to review and/or disclosure to someone other than the recipient. ------------------------------------------------------------------------------------------------------------------- ------_=_NextPart_001_01C35C30.9FD372AA Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable adding methods to an existing class

I'm fumbling over syntax trying to figure out how I could= write a method that adds a method to a given class.  I'd call it like= this.

addTestMethod(Foo)

where Foo is a class.

addTestMethod would add a fixed "test" method t= o the class passed to it.

An example would be greatly appreciated!



---------------------------------------------------------------------------= ----------------------------------------
A.G. Edwards & Sons' outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.

---------------------------------------------------------------------------= ----------------------------------------
------_=_NextPart_001_01C35C30.9FD372AA--