Jump to content

Recommended Posts

Posted

Hello Fellows.

Isnt there any form for calculator in AutoIt ?

How can i do this:

$var = +1

My script is like this:

Func 1()

if $var <= 1 then
   Statement
Elseif $var = 2 then
   Statement
Elseif $var = 3 then
   Statemen
....

Endfunc
Posted (edited)

To increment a variable just make it equal to itself plus whatever you want to add, like:

$var = $var +1
Edited by muncherw
Other People's Stuff:Andy Flesner's AutoIt v3: Your Quick Guide[topic="34302"]Locodarwin's ExcelCom_UDF[/topic][topic="61090"]MrCreatorR's Opera Library[/topic]

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
×
×
  • Create New...