thanks Mark,
 
This is what I was wanting.. I did not remember about the
parse source to get the folder for the Rexx program.
 
> If you have your Rexx program file and your .h file in the same
> directory, but you want the program to run from another directory,
> then get the absolute path to your Rexx program and use that path
> to locate the .h file:
>
>
> -- Get the full path to this program file.
>
> parse source . . pgmFile
>
>
> -- Get the directory this program file is located in.
>
> pgmDir = pgmFile~left(pgmFile~lastpos('\') - 1)
>
>
> .application~useGlobalConstDir("O", pgmDir'\my.h')

--
 Art Heimsoth - artst...@artheimsoth.com
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to