Jump to content

Math problems.....


Kickassjoe
 Share

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.

Link to comment
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.

 

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