Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execute code from memo
Message
 
À
27/05/1996 21:12:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00001685
Message ID:
00001697
Vues:
37
>How to execute the entire code being part of a
>memo field? We would like to be able to run some
>code coming from the memo field at run time. Is
>there some special techniques to do th

Michel

Try:

for lnX = 1 to MLines('MyMemo')
lcX = MLine('MyMemo',lnX)
&lcX
endfor


Just make sure every line is a complete & valid command.

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform