From: Rick M. <obj...@gm...> - 2012-10-25 18:15:16
|
On Thu, Oct 25, 2012 at 2:03 PM, Staffan Tylen <sta...@gm...>wrote: > I'm successfully using CALL in place of ::REQUIRES at one point in the > process because the name of the class to use is not known beforehand. My > questions are: > > - is there a better way of doing it? > > - is there a risk it will break in the future? Probably not much chance this will break in the future, but a better approach would be to use the loadPackage method. .context~package~loadPackage(someFileName) Which performs essentially the same processing as having a ::requires, but does it dynamically. Rick > > > Staffan > > > > ------------------------------------------------------------------------------ > 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_sfd2d_oct > _______________________________________________ > Oorexx-users mailing list > Oor...@li... > https://lists.sourceforge.net/lists/listinfo/oorexx-users > > |