Cyril asked me to post this
Apparently the method cannot refer to sigl
---------- Ursprüngliche Nachricht ----------
Von: Cyril Randles <cyrilrand...@gmail.com>
An: WalterPachl <christel.u.w.pa...@chello.at>
Datum: 12. Oktober 2020 um 13:10
Betreff: Rexx forum
Dear WalterI apologise for bothering you but I have failed in my attempt to put a question on the forum - can you help please?CyrilShould I expect sigl to be available in the context of a ::method?#!/* test compare call procedure and method */
myobj=.myclass~new
call test1 'test1 call procedure from' .line
myobj~test3('test3 method routine from' .line)
exit
/**************/
test1:procedure expose sigl
parse arg x
say sigl x
return
/**************/
::CLASS myclass
::method 'test3'
expose sigl
use arg x
say sigl x
return
/* Output
3 test1 call procedure from 3
SIGL test3 method routine from 4
*/_______________
Regards
Cyril Randles
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel