Microsoft KB Archive/72851

= BUG: Arg+Linsert May Corrupt Lines Longer Than 128 Characters =

Article ID: 72851

Article Last Modified on 10/23/2003

-

APPLIES TO


 * Microsoft Programmer's Workbench for MS-DOS 1.0
 * Microsoft Programmer's Workbench for MS-DOS 1.1
 * Microsoft Programmer's Workbench for OS/2 1.0
 * Microsoft Programmer's Workbench for OS/2 1.1

-



This article was previously published under Q72851



SYMPTOMS
In the Microsoft Programmer's WorkBench (PWB) versions 1.0 and 1.1, a line that is greater than 128 characters may be corrupted if the &quot;Arg Linsert&quot; function is executed on that line.



STATUS
Microsoft has confirmed this to be a problem in the PWB versions 1.0 and 1.1. We are researching this problem and will post new information here as it becomes available.



MORE INFORMATION
The Arg+Linsert form of the Linsert function is designed to move the current line so that the first nonblank character is in the column where the cursor resides; however, instead of moving over as expected, lines longer than 128 characters may lose some characters in the middle.

This behavior may be demonstrated by following these steps:


 * 1) Enter a line of text beginning in column 1 that goes past column 128.
 * 2) Press the END key to go to the end of the line and note the column number of the cursor.
 * 3) Move the cursor to column 10 and press ALT+A (Arg) followed by CTRL+N (Linsert).
 * 4) Press END again and observe the column number of the cursor.

The whole line will move over so that the line now begins in column Therefore, the column for the end of the line should be 10 greater than the original position; however, the end of the line is in the same position it was in before the move. If you check the line carefully, you will find that 10 characters are missing from somewhere in the middle.

Additional query words: 1.00 1.10 buglist1.00 buglist1.10

Keywords: kb16bitonly KB72851

-

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

© Microsoft Corporation. All rights reserved.