Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The future of Visual Foxpro is...
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00501081
Message ID:
00501905
Views:
35
>>Really Michel, if you get any funtion that you did in Visual Basic and put this Funtion (with the VB commands) in your Visual Foxpro program this will work with any problem.
>I tried some basic code in my command window:
>?LEFT$("123456",2) ' crashed with function name missing
>? MID$("ABCD",2,1) ' crashed again.
>
>VBA will work inside VFP, but is is not the same as VBA script inside VB.

Terry,

Actually, in the above, Left("123456", 2) will work in VB, VBA, and VBScript as well as VFP. VB dropped the data type indicators in the function names sometime ago. A number of function (and command structures) are then same in all these languages. One of the reasons being that the original syntax for < shudder > xBase languages was partially based on BASIC.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform