PRB: CHR(10) Will Embed CHR(13) When Used with SET ALTERNATELast reviewed: January 24, 1995Article ID: Q125198 |
The information in this article applies to:
SYMPTOMSWhen directing output to a file in FoxPro for UNIX by using the SET ALTERNATE command, a carriage return/line feed, "^M", will be added to the end of the line when concatenating a string with CHR(10).
STATUSThis behavior is by design. FoxPro for UNIX is designed to emulate FoxPro for MS-DOS. Line feeds in MS-DOS will return control to the left most character on the next available line. In UNIX line feeds will drop the current cursor position to the line maintaining the cursor position. Therefore, the carriage return is included.
MORE INFORMATION
Steps to Reproduce Behavior
|
Additional reference words: foxUnix 2.60
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |