Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Evaluate() revisited
Message
From
01/04/1998 13:20:49
 
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Evaluate() revisited
Miscellaneous
Thread ID:
00088744
Message ID:
00088744
Views:
62
Ok, here we go again with this famous missing Evaluate() function in VB.

After looking for several other alternatives, neither of them can do the job. I really need to evaluate a string in VB.

Assuming lnMaximum=13, I need to obtain the following:

MsgBox(Evaluate(["You can't enter a value greather than "+Str(lnMaximum)]))

Given an array will contains 200 messages. Most of them are messages that contains variable that only the values are, of course, accessible at run time.

Given a specific error message, we will pull out a specific message from this array. There, we need to evaluate the string at that time, and only at that time, as now the lnMaximum value is accessible.

If no Evaluate() function is present in the environment, is thinking of doing that function in C++ makes sense? Or, is any other person has the miracle solution?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform