Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
'RUN' and '?'
Message
 
To
16/07/2001 09:22:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00530937
Message ID:
00530963
Views:
11
>>It depends on what process do you run in DOS.
>>Perhaps you may use options like '\pause', or redirect the DOS output to the file and then display the content.
>
>The following sample program replicates my troubles. Note that if you add one more line ("?"), the first line will scroll of the screen.
>
>
>clear
>? "Line 1"
>? "Line 2"
>run del hopefullynonexistentfile.ext
>? "Line 3"
>
>
>Hilmar.

Hi Hilmar,

Try
CLEAR && optional
?REPLICATE(CHR(13)+ CHR(10), 15)
?"Line 1"
?"Line 2"
run del hopefullynonexistentfile.ext
?"Line 3"
Instead of 15 you may use any other number which better suits yor needs.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform