Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The future of Visual Foxpro is...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00501081
Message ID:
00501905
Vues:
40
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform