Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute code from memo
Message
From
28/05/1996 08:45:22
John Adams
John T. Adams Software Consulting Svcs
Keedysville, Maryland, United States
 
 
To
28/05/1996 07:32:32
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00001685
Message ID:
00001705
Views:
40
>>for lnX = 1 to MLines('MyMemo')
>> lcX = MLine('MyMemo',lnX)
>> &lcX
>>endfor
>
>This won't work if you have FOR/NEXT for example.
>The way we accomplished this in the past was to
>compile the memo as a .fxp file and execute it. We
>are trying to find another way to run the entire
>code at once.

Michel,

Not exactly what you want, but, will work...

copy the memo to a temp.prg file then simply DO
the temp.prg file.

John.
John Adams

John T. Adams
Software Consulting Services
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform