Jump to content

Question.


AceLoc
 Share

Recommended Posts

5.4.1 !define

([/date|/utcdate]gflag [value]) | (/math gflag val1 OP val2)

This command will add gflag to the global define list. This will have a similar effect as using the /D switch on the command line (only the define only becomes effective after the !define command).

If /date or /utcdate are used, value will be passed into strftime and the result will be used as the value of gflag. strftime converts special symbols into certain parts of the current time or date. For example, %H will be converted into the current hour in 24-hour format. For a complete list of available symbols, search for strftime on MSDN. On POSIX, you can get the list by using man strftime.

If /math is used, the result of 'val1 OP val2', where OP may be +,-,*,/ or % , will be used as the value of gflag. Note that val1 AND val2 MUST be integer values!

!define USE_SOMETHING

!define VERSION 1.2

!define /date NOW "%H:%M:%S %d %b, %Y"

!define /math RESULT 3 + 10

!define /math REST 15 % ${RESULT}

What is that, in Autoit language?

Thanks.

Edited by AceLoc

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Link to comment
Share on other sites

No.

You're Welcome.

...LOL...

Seriously, If you want to know what language it is in, you will have to provide us with the web address of the page you copied it from. Otherwise, it will be a little more than difficult to determine what it came from.

Edited by this-is-me
Who else would I be?
Link to comment
Share on other sites

No.

You're Welcome.

...LOL...

Seriously, If you want to know what language it is in, you will have to provide us with the web address of the page you copied it from. Otherwise, it will be a little more than difficult to determine what it came from.

I dont want to know which language it is in.

I know that myself.

The question is, What is the same command only in autoit language.

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

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