![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: #include $DOORS_BASE/doors_misc.inc Topic Summary: gives an error message :( Created On: 7-Sep-2005 10:59 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
-E- DXL: badly formed token (#include)
-E- DXL: incorrect argument for ($) -E- DXL: incorrect arguments for (.) -E- DXL: incorrect arguments for (/) -E- DXL: undeclared variable (inc) -E- DXL: undeclared variable (doors_misc) -E- DXL: undeclared variable (DOORSBASE) i tried all possible variations. But as the dxl reference manual tells me, that: #include "$DOORSBASE/doors_misc.inc" should be right, and while executing the script, Doors tells me, he doesnt find the include file ... can someone help me? |
|
![]() |
|
![]() |
|
Try this
#include "$DOORSBASE\\doors_misc.inc"
From DXL manual:-
The Windows-style file separator (\) must be duplicated so that DXL does not
interpret it as a meta character in the string.
|
|
![]() |
|
![]() |
|
ah sorry, we run the script on Linux, forgot to say that
|
|
![]() |
|
![]() |
|
I don't think you can use substitution variables within the #include statement.
The string needs to be a string literal. Besides, the $DOORSHOME should be redundant, as the $DOORSHOME/dxl folder is the default search location for included files. for example, the following will work: #include <addins/myScript.dxl> #include <standard/theirScript.dxl> You can also use relative paths: #include <../myUtils.inc> #include <./actual/myUtils.inc> ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
hmmm, a pity. but ok then i need to use it like this
![]() thank you. |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
#include $DOORS_BASE/doors_misc.inc
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.