Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Evaluate() revisited
Message
De
01/04/1998 13:20:49
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Evaluate() revisited
Divers
Thread ID:
00088744
Message ID:
00088744
Vues:
58
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform