Jump to content

Help with autoit mathematics


 Share

Recommended Posts

Okay, why isnt this working

$b = 24.95

$b2 = 24.95

$d = 50

MsgBox("Test", $d - $b + $b2)

I have tried everything from quotes to no quotes and multiple brackets to no brackets please help me

Thanks

Joosh

Link to comment
Share on other sites

the msgbox function needs 3 separate inputs, msgbox( flag, Title, output)

help file for more details

$b = 24.95

$b2 = 24.95

$d = 50

MsgBox(48,"Test", $d - $b + $b2)

should work.. read the help file more

Link to comment
Share on other sites

should work.. read the help file more

Also the error message of AutoIT gives a pretty good hint about the potential problem.

Error: Incorrect number of parameters in function call

Cheers

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

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