Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute code from memo
Message
 
To
27/05/1996 21:12:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00001685
Message ID:
00001697
Views:
42
>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/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform