Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB Eval Function
Message
From
22/07/1999 14:01:18
Robert Byrd
National Association of Homebuilders
Washington, District of Columbia, United States
 
 
To
14/07/1999 14:02:10
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00240806
Message ID:
00244875
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform