mpcluever Posted March 17, 2009 Posted March 17, 2009 (edited) I'd like to be able to put a variable in the Include line at the top of the script like this $Company = "RedKing" #include "C:\Documents and Settings\Matt Cluever\My Documents\Scripts\Include\" & $Company & " Data.au3" Doesn't seem to be able to accept it. Is this possible? Nevermind The filename of the current script to include. Path is optional. This must be a string--it cannot be a variable. Edited March 17, 2009 by mpcluever
Richard Robertson Posted March 17, 2009 Posted March 17, 2009 It has to be a string because the includes are processed before the script is run.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now