Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Runtime creation of a single multiline command prg
Message
De
09/04/2004 05:30:43
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00893462
Message ID:
00893486
Vues:
32
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all
>
>I have successfully created and DO &filename. of a runtime generated EDIT (BROWSE) single multiline command from a prg file.
>
>What will happen at the clients end?
>
>Please advise.

Depends on version. With 6 you could :
compile (m.filename)
do (m.filename)

With 7 and later you could also use :
ExecScript(FileToStr(m.FileName))

But beware ExecScript version compiles with each run and hence slows down if would be called n times. VFP6 approach is better than.

PS: Compile is supported for some other files too.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform