Reading method text

Alan Schmidt alan at goconnected.com
Tue May 18 00:00:16 UTC 2021


Yes, but methodtext is still only available for named methods- not at the class level right?

That's really what I was trying to ask.

-Alan


On 5/17/21, 3:42 PM, "omnisdev-en on behalf of Doug Easterbrook" <omnisdev-en-bounces at lists.omnis-dev.com on behalf of doug at artsman.com> wrote:

    hi Alan.

    sure..   get the names of the classes…. then iterate the classes to get the method text.



    Doug Easterbrook
    Arts Management Systems Ltd.
    mailto:doug at artsman.com
    http://www.artsman.com
    Phone (403) 650-1978

    > On May 17, 2021, at 3:14 PM, Alan Schmidt <alan at GOCONNECTED.COM> wrote:
    > 
    > Hi Scotte, 
    > 
    > Is there an easy way to dump all method lines in the class into a var or must it be done by specific method only?
    > 
    > Really doesn't matter... only a few more lines of code.
    > 
    > Thanks for pointing me in the right direction...
    > 
    > -Alan
    > 
    > 
    > On 5/17/21, 12:40 PM, "omnisdev-en on behalf of Scotte Meredith" <omnisdev-en-bounces at lists.omnis-dev.com on behalf of spomacguy at gmail.com> wrote:
    > 
    >    Try this:
    > 
    >    Calculate #S1 as $clib.$classes.MyClass.$methods.MyMethodName.$methodtext
    > 
    > 
    >> On May 17, 2021, at 12:16 PM, Alan Schmidt <alan at goconnected.com> wrote:
    >> 
    >> Can someone please post an example of reading method text out of a class?
    >> 
    >> 
    >> 
    >> Thank you!
    >> 
    >> 
    >> 
    >> -Alan
    >> 
    >> _______
    > 
    > 
    > 
    >    Scotte Meredith
    >    spomacguy at gmail.com
    >    509/998-0991
    > 
    > 
    > 
    > 
    >    _____________________________________________________________
    >    Manage your list subscriptions at http://lists.omnis-dev.com
    >    Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
    > 
    > 
    > 
    > _____________________________________________________________
    > Manage your list subscriptions at http://lists.omnis-dev.com
    > Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 

    _____________________________________________________________
    Manage your list subscriptions at http://lists.omnis-dev.com
    Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 




More information about the omnisdev-en mailing list