Jump to content
Sign in to follow this  
Kickassjoe

Math problems.....

Recommended Posts

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)
    
    EndFunc

What goes around comes around... Payback's a bitch.

Share this post


Link to post
Share on other sites

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.

 

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  

×
×
  • Create New...