Kickassjoe Posted September 12, 2006 Posted September 12, 2006 OK, here is the problem... I don't know how to solve a problem (like an algebreic expression), that is in a variable, EX. (2+2)*4it should = 16... but I cant find a function that does it...EX in script...Func _DoTheNumericExpression() $expression = InputBox("Numeric Expressions!", "Type the numeric expression that you would like figured out!") $expression = *WHAT DO I PUT HERE?????*($expression) $answer = $expression MsgBox(0, "Numeric Expressions!", $answer) EndFunc What goes around comes around... Payback's a bitch.
GaryFrost Posted September 12, 2006 Posted September 12, 2006 OK, here is the problem... I don't know how to solve a problem (like an algebreic expression), that is in a variable, EX. (2+2)*4 it should = 16... but I cant find a function that does it... EX in script... Func _DoTheNumericExpression() $expression = InputBox("Numeric Expressions!", "Type the numeric expression that you would like figured out!") $expression = *WHAT DO I PUT HERE?????*($expression) $answer = $expression MsgBox(0, "Numeric Expressions!", $answer) EndFuncoÝ÷ Ûú®¢×Ù÷öÚnµ©òzºèÈ^rH§)ãºËZªèÈZºÚ"µÍ[ÈÑÕS[YXÑ^ÜÚ[Û B ÌÍÙ^ÜÚ[ÛH[]Þ ][ÝÓ[YXÈ^ÜÚ[ÛÉÌÌÎÉ][ÝË ][ÝÕHH[YXÈ^ÜÚ[Û][ÝHÛÝ[ZÙHYÝYÝ] ÌÌÎÉ][ÝÊB ÌÍØ[ÝÙH^XÝ]J ÌÍÙ^ÜÚ[ÛBÙÐÞ ][ÝÓ[YXÈ^ÜÚ[ÛÉÌÌÎÉ][ÝË ÌÍØ[ÝÙB[[Â^] SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Kickassjoe Posted September 12, 2006 Author Posted September 12, 2006 SWEET! Thanks... (it obviously works) I don't think that is in the "math functions" part of the help file... What goes around comes around... Payback's a bitch.
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