Jump to content

Recommended Posts

Posted

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.

Posted

Thanks for the smug reply!! :whistle:

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?

Posted

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 :whistle:

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

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
  • Recently Browsing   0 members

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