can't find include file

when I try to include a file, it always says .i was not found even I change the path already.

I don't want to hard-code the path, how can I specify the path in a dynamic way??

start-up = "c:\library".

RUN SetCurrentDirectoryA (INPUT start-up).

{getaddr1.i &table-name = "company"}.
 
oh yes, it works now, thx 2 chris.

By the way, how long can the string PROPATH be?


Moreover, is it true text replacement can't use varible??

table1 = "company".

{getaddr.i &table-name = table1}.

the upper does not work, any solution?

Thank alot.
 
U

Unregistered

Guest
Which version of Progress are you using?

If you are using 9+ you don't need to use nasty includes anymore you can use dynamic buffer handles etc.

People had to use {include &var = "something"} in previous versions of Progress because of the poor/weak out of date 4gl.

If you are 9+ which is getting more like a real programming language you don't have to do these nasty sorts of things.
 
Maybe :awink:

If you was on 8.1 (like we were) the conversion was a big step becuase of converting VBX code to OCX code.

With 8.3 it should be a fairly simple step to 9.1.

Go for it, i think it would be worth it.:D
 
I want to go for it, but I am not the boss who pays the money.

BTW, can u tell me how to add an icon after the statement you quoted there? Thank you.
 
Top