YozY Posted August 11, 2006 Share Posted August 11, 2006 hi all I have a problem with including files by using a variable here's an example: $main = "main.au3" #include <$main> i want something like this but it doesn't work It always gives me an error saying the file is not found What am i doing wrong? Thanks, YozY Link to comment Share on other sites More sharing options...
BPBNA Posted August 11, 2006 Share Posted August 11, 2006 The filename of the current script to include. Path is optional. This must be a string--it cannot be a variable. Link to comment Share on other sites More sharing options...
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