Re: Help on including files [message #14998] |
Tue, 13 April 1999 00:00  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
a_li_ba_ba@my-dejanews.com wrote:
> Hi,
>
> I am working trying to include a header files inside my code. My IDLDE
> preference working directory and search path is set to default. Then I added
> path to !PATH at the top of my source file like this where header.pro is in e:
> \files\src:
>
> !PATH = !PATH + "; e:\files\src"
> @header.pro
>
> I then compile and it complains that header.pro can't be found. Then after
> running it once and returning on error, I recompile and it works this time
> because the !PATH variable is setup correctly now. I am wondering if anyone
> has any solution to this so that I can simply compile and run with no error on
> the 1st try (without changing the IDLDE preference). Please let me know.
>
> Thanx!
> Albert
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
I am not using the extension .pro
to be compatible to unix systems you should write @header ;
because line end on windows is 10b13b.
If you don't use (space ; ) the unix looks at @header^M.
R.Bauer
|
|
|