I work in VFP6. In order to debug a .prg I added some print command
lines to it as follows:
? "OK - " + ALLTRIM(STR(RECNO("LINES"))) + " "
?? CHR(7) + "#"
which does just what I want on the screen. But, the first lines scroll
up off of the screen and are lost.
So, I entered into the Command Window the following:
SET ALTERNATE ON
SET ALTERNATE TO BUGSCRN
SET ALTERNATE TO
SET ALTERNATE OFF
MODI FILE BUGSCRN.TXT
Unfortunately, the only thing I find in BUGSCRN.TXT is a single period
in the first column on the first line. I remember using "SET
ALTERNATE" years ago in FP 1.02 DOS and the period at the end of the
file. But, where are the more than 300 characters XFRLINES.PRG prints
on the screen that should also be in BUGSCRN.TXT!
Can someone explain why this doesn't work.
Thanks for any help (I spent over an hour in the Help file).