Jump to content

Variable in the Include line?


Recommended Posts

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