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

Last reviewed: July 17, 1997
Article ID: Q72851
1.00 1.10 | 1.00 1.10
MS-DOS    | OS/2
kbtool kbbuglist

The information in this article applies to:

  • Microsoft Programmer's Workbench for MS-DOS, versions 1.0 and 1.1
  • Microsoft Programmer's Workbench for OS/2, versions 1.0 and 1.1

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 "Arg Linsert" 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 10. 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 reference words: 1.00 1.10 buglist1.00 buglist1.10
KBCategory: kbtool kbbuglist
KBSubcategory: PWBIss
Keywords : kb16bitonly


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.