Hi Gil,

On Tue, 29 Aug 2017 13:07:18 -0400
Gil Barmwater <gbarmwa...@alum.rpi.edu> wrote:

> Manfred,
> 
> The ::requires statement is executed before the first statement of
> the ooRexx script but is essentially a "call" of the specified file.
> So, one could add a test at the very beginning of the script for
> running under Windows and, if so, call the winsystm.cls file.  Then
> there would be no need for the ::requires statement.
> 

Thanks, this sounds good. I let him know.

Best, Manfred


> Gil B.
> On 8/29/2017 11:46 AM, Manfred Lotz wrote:
> > Hi there,
> > A friend of mine has a ooREXX script which runs on both Windows and
> > Linux. On the Windows side he needs a
> >
> >     ::require "WINSYSTM.CLS"
> >
> > If the script runs on Linux it doesn't work because of the ::require
> > above. Error messages are REX0043E and REX0418E.
> >
> > His only idea was to have an empty WINSYSTM.CLS file in the same
> > directory where the REXX resides when it is Linux.
> >
> > Question: Is there a smart way to deal with the situation so that he
> > still can have a single script for Windows and Linux?
> >
> > Thanks a lot.
> >
> > -- Manfred
> >
> > ------------------------------------------------------------------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Oorexx-devel mailing list
> > Oorexx-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
> >  


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to