Jump to content

Help with include


Recommended Posts

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

Link to comment
Share on other sites

  • Developers

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"

:ph34r:

Edited 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.
  :)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...