Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Executing multiple lines of code in the command window
Message
From
04/11/2004 08:15:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Executing multiple lines of code in the command window
Miscellaneous
Thread ID:
00958033
Message ID:
00958033
Views:
42
I want to be able to highlite multiple lines of code in the command window and reexecute them at one time, in sequence. I changed jobs recently and I thought I was able to do this in VFP-7 but it does not work on my new VFP-8 setup. I can't find any refs to it in the documentation. When I highlite the following commands that were previously executed one at a time and press the [Enter] key it does not seem to do anything. The memvars do not exist if I try to show them:

I copied these lines from earlier in the command window and pasted them at the bottom of the command window. While they are still highlited I pressed the [Enter] key to execute them.

m.lcStatute1 = ''
m.lcStatute2 = ''
m.lcStatute3 = ''
m.lcStatute4 = ''
m.lnSub = 1

Then I entered the following command:

?m.lnSub

and to my surprise I get an error that says the memvar does not exist! Is there some setup option that will allow me to do this or was I just dreaming???

Jim White
Time is a wonderful teacher. Unfortunately it kills all of its students.
Next
Reply
Map
View

Click here to load this message in the networking platform