Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

EVALUATE function 1

Status
Not open for further replies.

electricpete

Electrical
Joined
May 4, 2001
Messages
16,774
Location
US
This is a spinoff question from thread770-113109

What is the evaluate function? It is not described in help. Can you provide an example of it's useage. I could not get it to work no matter what kind of datatype I fed it.

=====================================
Eng-tips forums: The best place on the web for engineering discussions.
 
The Evaluate function allows you do dynamically build a string, which is a mathematical forumla. The Evaluation function then allows you to run that function so to speak, something like the following:

dim TheFormula as String

TheFormula = "SQR(x^2+y^2)"
Result = Evaluate(TheFormula)

Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top