Yeah, I had the same problem I remember - and neither ooRexx Reference nor the Programming Guide seem to state that the "current directory" is the one from which the program is started.
 
--
Oliver Sims
 


From: Mukenx [mailto:mukenx@gmail.com]
Sent: 30 January 2013 13:28
To: Open Object Rexx Users
Subject: Re: [Oorexx-users] ::requires

mea culpa.
I discovered that the current directory at startup was set to a different location than the one the program was located in.

Thanks for the hint.
Madou


2013/1/30 Oliver Sims <oliver.sims@simsassociates.co.uk>
In one of the exercises in the ooDialog User Guide I use:
::REQUIRES "..\Support\MessageSender.rex"
 
I don't suppose a .cls is any different but I don't *know* that it is not.
 
--
Oliver Sims

 

 


From: Mukenx [mailto:mukenx@gmail.com]
Sent: 30 January 2013 10:28
To: Open Object Rexx Users
Subject: [Oorexx-users] ::requires

is it theoretically possible to allow a ::requires ".\..\someLibrary.cls" ?

This would be useful for cases when the library is situated in a parallel folder or a folder higher up with respect to the requiring program and the root path for both varies depending on whether the programs are a working copy (say on the local drive) or a regular copy (on a network drive).

Madou


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users