Microsoft KB Archive/191589

= BUG: Output Lines from TYPE Command Not Numbered =

Article ID: 191589

Article Last Modified on 5/12/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q191589



SYMPTOMS
The output from the TYPE command does not contain line numbers when using the NUMBER, AUTO, and WRAP options.



CAUSE
When combining the AUTO, WRAP, and NUMBER options the lines beginning with spaces are not parsed correctly. Therefore, some line numbers are omitted.



RESOLUTION
Remove the spaces from the beginning of any lines in the text file.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.



Steps to Reproduce Behavior
 Create a text file named Ztest.txt that contains the following data. When adding the second line, press the space bar several times to add a few spaces before typing the data.

Test line 1

Test Line 2

Test Line 3

Test Line 4

 Close the text file and type the following line in the Command window:

TYPE Ztest.txt NUMBER AUTO WRAP

Notice that the second line does not have a line number preceding it. If you type the following, you get the proper line numbers:

TYPE Ztest.txt NUMBER AUTO



Additional query words: kbXBase kbVFp500abug kbVFp300bbug kbVFp600bug

Keywords: kbbug kbnofix KB191589

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.