Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB Eval Function
Message
De
22/07/1999 14:01:18
Robert Byrd
National Association of Homebuilders
Washington, District de Colombia, États-Unis
 
 
À
14/07/1999 14:02:10
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00240806
Message ID:
00244875
Vues:
26
Eval() is not documented in the DTS package, but it is documented on Microsoft's Script site.

It works just like the VFP EVAL() function. BUT, it is not available in VB. And CallByName does not perform the same function.

It would be good to know if there is a built-in VB fucntion that performs the same function, or, barring that, if someone has written one.

Later,

Bob

>Eval() evaluates whatever expression you pass it and returns the result.
>
>Ex.:
>- Eval("Date()") will return the current date
>- Eval("lnRecCount") will return the content of the variable lnRecCount
>
>I'm pretty sure that there is no corresponding function in VB to do that.
>
>>What is Eval doing exactly? I think that Eval is used to call a function or stuff like this!
>>
>>If my thought are good, in VB6 you can use the new CallByName statement but I don't remember having see it in VB Script!
Database Development Team
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform