On 2022-02-04 18:45:13 Gilbert Barmwater wrote: > The recent post by Terry Fuller inspired me to explore the "trace L" > option which the documentation says "Traces method and routine > invocations, internal subroutine calls, transfers of control because of > the SIGNAL instruction, and labels passed during program execution." > Since I hadn't ever had an occasion to use it I wrote the following to > see how it works. Unfortunately, I get no trace output from this > program. Can someone explain? > > say'TESTM starting...' trace?L fred1=.fred~new fred1~foo fred1~bar > > say'...end of TESTM' > > ::classfred > :: > ::methodfoo > > ts='at 'time() > ts||=' on'date()'.' > say'This is method FOO in an instance of'self~classts > > ::methodbar > > exposealpha > ts='at 'time() > ts||=' on'date()'.' > say'This is method BAR in an instance of'self~classts
See section 1.12.3 Labels in the Language Reference manual. The code that you have provided does not have any labels in it, only directives. Leslie -- _______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel