PRB: SET ALTERNATE Adds Extra Spaces to the End of Each LineID: Q137316 3.00 WINDOWS kbprg kbprb The information in this article applies to:
SYMPTOMSUsing the SET ALTERNATE command to output to a text file can produce a result that contains extra spaces on the end of each line.
RESOLUTIONIf you don't want to see the information scroll on the screen while the text file is being created, use this command:
If you want to see the information scroll on the screen, set the
_Screen.Fontname property to a non-proportional (mono-spaced) font, such as
Courier.
By calling the SET CONSOLE OFF or setting the FontName property to a non- proportional font, you can prevent the extra spaces from appearing in the text file.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce BehaviorThe following example uses the Customer table in the Vfp\Samples\Data directory. 1. Create a program containing this code:
2. Ensure that the _SCREEN.FontName property is set to Arial (or any
3. Run the program. After running the program, open the Test.txt file
Steps to Avoid Behavior1. To resolve the problem and display the text file on the screen as it is 2. To resolve the problem without displaying the text file on the screen as
Additional reference words: 3.00 VFoxWin
KBCategory: kbprg kbprb
KBSubcategory: FxprgGeneral
|
Last Reviewed: July 16, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |