rgj_time Posted February 24, 2004 Share Posted February 24, 2004 I am looking for the syntax to declare constants. I have been digging throught the help files without help. If I search for "constant" it doesn't give me anything. thanks. Link to comment Share on other sites More sharing options...
redndahead Posted February 24, 2004 Share Posted February 24, 2004 There is no difference between variables and constants. The only thing is don't change the value. red Link to comment Share on other sites More sharing options...
rgj_time Posted February 24, 2004 Author Share Posted February 24, 2004 Thanks for the smug reply!! I have built an include file with variable declarations. 3 are $TRUE, $FALSE, and $NULL. I was trying to guard against myself from accidentaly changing the value. Are there plans to implement boolean datatypes? Link to comment Share on other sites More sharing options...
Nutster Posted February 25, 2004 Share Posted February 25, 2004 0 is false. Non-0 is true. Any string that does not evaluate to a number is considered false(0).If "12.4" Then ;Will be considered true David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... 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