View Full Version : Variables defined in #include scripts are "missing"
Mike Hanson
08-13-2007, 12:44 PM
I'm setting up my Super Template installs. Since they all share the same directory structure, I've used an #included SBI to set a bunch of variables, and to create the directories.
However, when I specify a file to be installed, the variables that I defined in that SBI are not presented in the list, and I'm not permitted to type it manually. Do I have to manually define those directory variables in each SB6 file, or is there some way to get it to work.
http://www.boxsoft.net/images/mikeboxsoft.png (http://www.boxsoft.net)
linder
08-13-2007, 01:01 PM
Mike,
Are you using compiler variables or runtime variables?
If you are using runtime-variables (defined in a .sbi) and you don't see them in "the list", no problem. Once defined, they are available. The list only displays variables defined in the active script.
Friedrich
Unregistered
08-13-2007, 07:22 PM
Are you using compiler variables or runtime variables?
If you are using runtime-variables (defined in a .sbi) and you don't see them in "the list", no problem. Once defined, they are available. The list only displays variables defined in the active script.
I'm using %RUNTIME%, not [COMPILER]. (Did I get that right? ;) ) The variables are set in the SBI (e.g. %DIRLIBSRC% = "%DIR3P%\LIBSRC"), then I'm trying to use %DIRLIBSRC% in the SB6 that #included the SBI. Therefore, it's not the "active" script. Have I hit a physical limitation here?
http://www.boxsoft.net/images/mikeboxsoft.png (http://www.boxsoft.net)
linder
08-14-2007, 05:04 AM
Sorry, not enough coffee - or too much <g>. I still don't know exactly where you enter (or try to enter) that information. And where are you not permitted to type it manually?
Thanks,
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.