General information
Category:
Coding, syntax & commands
>Ben,
>
>You'll need the MS Script control on a form to evaulate non-compiled code. VB compiles many things to native code for speed (by default).
>(Hey, no arguments, it does.) VFP has the advantage of interpreting every line and run time, so macro subst. isn't a big deal to VFP.
>Add the MS script control to a form and the code below can be used:
>
> With ScriptControl1
> .Language = "VBScript"
> MsgBox "2+3 = " & .Eval("2+3")
> End With
>
>HTH,
>Ed
>
Thanks. I'll give it a try.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only