[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
#include problems
- Subject: #include problems
- From: marina lifshits <marina.l@ZIM.CO.IL>
- Date: Thu, 24 May 2001 14:14:16 +0300
Hello all !
Subject : #include problems during conversion
from SQR 4.0 in VAX/VMS to SQRW Win 95/98/NT.
In our VAX/VMS SQR programs, we have following #include
#include 'sqr$:xxx.inc'
SQR$ - environment logical variable for VAX/VMS directory :
show LOG SQR$
"SQR$" = "ZVTORA$DISK:[ZVTORA.APP.SQR]"
We have defined the same environment variable SQR$ for PC :
D:\APP_ZVT\Env_develop\Version_1\SQR\
and tried different ways .
1.Using -I flag as following :
-ISQR$
-Iname_in(‘SQR$’)
-I%SQR$% , etc .
In the SQR program, we changed the above to:
#include 'xxx.inc'
2.Using env.variable directly as following :
#include ‘sqr$:xxx.inc’
#include ‘%sqr$%:xxx.inc’
#include ‘%sqr$%xxx.inc’ , etc .
In all cases we got the error:
Cannot open the #INCLUDE file ...
No such file or directory
Please help .
Tnks.