Microsoft KB Archive/189775

= BUG: Watch/Locals Windows Truncate Char. Variables at CHR(0) =

Article ID: 189775

Article Last Modified on 12/11/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a

-



This article was previously published under Q189775



SYMPTOMS
If you look at the value of a character-type variable that contains an embedded CHR(0) (that is, a NULL value) in the Visual FoxPro Debugger Watch or Debugger Locals window, the variable is truncated at the point where the CHR(0) occurs.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Behavior
  Type the following in the Command Window: gcX = "xxx"+CHR(0)+"yyy" DEBUG  Look at gcX in the Debugger Locals window, or type gcX in the Debugger Watch window and look at its value there.

RESULT: gcX's displayed value is "xxx" and LEN(gcX) = 7.

Additional query words: kbVFp500abug kbTools kbXBase

Keywords: kbbug kbpending KB189775

-

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

© Microsoft Corporation. All rights reserved.