From: René J. <rvj...@xs...> - 2022-03-24 16:13:47
|
Works briliiantly: /* netrexx test automatic uses */ lineout('todaysnumber.txt',date('B’)) Leaves the day number in the intended file. Best regards, René. > On 24 Mar 2022, at 17:04, Marc Remes <re...@gm...> wrote: > > Check the latest commit. > > On 3/24/22 16:43, Marc Remes wrote: >> Hi René, >> as RexxDate extends RexxTime, shouldn't we set the default 'scripting mode uses' to RexxStream and RexxDate? >> Marc >> On 3/23/22 14:46, Marc Remes wrote: >>> Hi René, >>> >>> I think that should be possible. >>> Let me look at it. >>> >>> Marc >>> >>> On 3/23/22 12:12, René Jansen wrote: >>>> Hi Marc and developers, >>>> >>>> when using ‘uses’ (of which I did not see the use the first few decennia of NetRexx’ existence) there needs to be a ‘class’ defined. As we recently added a lot of Classic Rexx functionality (address, address with, Date, and now stream I/O in the upcoming NetRexx 4.03, it seems fitting that one can ‘uses’ these in scripting mode. Would that be an easy fix? (Auto-include a ‘uses RexxStream, RexxTime on the generated class?) Are there counterexamples? >>>> >>>> best regards, >>>> >>>> René. >>>> >>>> _______________________________________________ >>>> Netrexx-develop mailing list >>>> Net...@li... >>>> https://lists.sourceforge.net/lists/listinfo/netrexx-develop > _______________________________________________ > Netrexx-develop mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/netrexx-develop |