AlmarM Posted February 1, 2008 Share Posted February 1, 2008 How to count like calculater ? I just need × - + nothing more... I tryed Number() but I dont know that one Someone can help me ? -AlmarM- Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
weaponx Posted February 1, 2008 Share Posted February 1, 2008 You need a better description, are you trying to recreate a calculator? Link to comment Share on other sites More sharing options...
schilbiz Posted February 1, 2008 Share Posted February 1, 2008 (edited) How to count like calculater ? I just need × - + nothing more... I tryed Number() but I dont know that one Someone can help me ? -AlmarM- Not sure if you are using SciTe or just a text editor but this should give you one way to do it. $Total = (4-3)*(4+2) Msgbox(0, "The total is:", $Total)oÝ÷ ØGb´ay-+"³Z·*.ÁêÞiû^®Ê&zØb ¨ébëaÆ®¶sbb33c¶ÒçVÖ&W"Ó2³ Edited February 1, 2008 by schilbiz Link to comment Share on other sites More sharing options...
AlmarM Posted February 1, 2008 Author Share Posted February 1, 2008 I mean I want a function that can COUNT like, 1+1 = ? Only I need: $UserThingie = InputBox() $CountThingie = <Command to Count>($UserThingie & * "8" MsgBox(0, "Awnser", "The awnser: " * $CountThingie) Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
AlmarM Posted February 1, 2008 Author Share Posted February 1, 2008 Ah I found it Its: $Input = InputBox("Number", "What number needs to be multiplied by 8?") $Count = $Input * 8 MsgBox(0, "Awnser", "The Awnser: " & $Count) Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
weaponx Posted February 1, 2008 Share Posted February 1, 2008 (edited) Nevermind... Edited February 1, 2008 by weaponx Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now