Jump to content

Nesting #includes


Recommended Posts

Is there a way to nest and execute (#includes) at different locations in a script other than being solely executed at the end? I know its mandatory to place #include in the far top left hand corner. But my understanding is the #include will run after everything is ran. Is that how they operate? What I'm trying to do is use #includes as off ramps from my main highway of scripts that I have, which are their main purpose. I just want to know if I can execute them at different locations other than at the end. Could someone help a brotha out?

Link to comment
Share on other sites

  • Developers

Is there a way to nest and execute (#includes) at different locations in a script other than being solely executed at the end? I know its mandatory to place #include in the far top left hand corner. But my understanding is the #include will run after everything is ran. Is that how they operate? What I'm trying to do is use #includes as off ramps from my main highway of scripts that I have, which are their main purpose. I just want to know if I can execute them at different locations other than at the end. Could someone help a brotha out?

Looks like you are a bit confused. :)

Look at it this way: At the place you locate the #include<> it will insert the included file. This could be any place in your script as long as it is syntaxly correct.

Jos

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...