VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Eval (Evaluate String Expression)REPOST

Aldo Vargas  (5 Submissions)   String Manipulation   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This is a recursive function that evaluates strings expressions. It supports multiple levels of parenthesis, algebraic evaluation of expressions (in this example
exponentiation ^ has same level of multiplication and division), function calls, logical operators, string/date/numeric functions and expresion evaluation. This is the base for
the creation of a scripting language.

Assumes
Logical evaluations requires that expressions be inside parenthesis. Example: ((-1) and (-1)) or (-1)

Rate Eval (Evaluate String Expression)REPOST (10(10 Vote))
Eval (Evaluate String Expression)REPOST.bas

Eval (Evaluate String Expression)REPOST Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters