jhocott Posted August 20, 2004 Posted August 20, 2004 I am trying to include a file in a script. The target file is in the same directory as the script. I have tried; #include ("file.au3") #include ("..." & "\" & "file.au3") #include (@scriptDir &"\" & "file.au3") The include command is the only non-comment line in the test script. When I run the script, nuttin' hoppins. I can find no examples for my test and frankly, the help text isn't very helpful.\ Someone please point out what I'm doing wrong or failing to do. Thanks Jay Jay
Developers Jos Posted August 20, 2004 Developers Posted August 20, 2004 (edited) I am trying to include a file in a script. The target file is in the same directory as the script. I have tried; #include ("file.au3") #include ("..." & "\" & "file.au3") #include (@scriptDir &"\" & "file.au3") The include command is the only non-comment line in the test script. When I run the script, nuttin' hoppins. I can find no examples for my test and frankly, the help text isn't very helpful.\ Someone please point out what I'm doing wrong or failing to do. Thanks Jay <{POST_SNAPBACK}>What about: #include "file.au3" Edited August 20, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
jhocott Posted August 20, 2004 Author Posted August 20, 2004 What about: #include "file.au3" <{POST_SNAPBACK}>Thanks, I've been burned by missing parens I put them on without thinking. And apparently without reading carefully enough either. Jay
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