Sign in to follow this  
Followers 0
Joosh

Help with autoit mathematics

3 posts in this topic

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

Share this post


Link to post
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


Share this post


Link to post
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 *

Share this post


Link to post
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
Sign in to follow this  
Followers 0