BUG: _CLIPTEXT Variable Causes GP Fault in Debug WindowLast reviewed: November 21, 1995Article ID: Q123452 |
The information in this article applies to:
SYMPTOMSA general protection (GP) fault occurs when you store a value that exceeds 254 characters in the _CLIPTEXT system memory variable while attempting to type additional characters in the Debug window.
RESOLUTIONThe _CLIPTEXT system memory variable has an internal storage limit of 254 characters. To copy larger amounts of text to the clipboard, you must store the text data to a memory variable as in this example:
_CLIPTEXT = <Memory Var>This way, you can copy blocks of text exceeding 254 characters to the clipboard. Also, by storing memory variables to _CLIPTEXT in this manner, you increase the clipboard capacity based on the amount of memory available. To avoid a GP fault and still use Debug, store the characters into a memory variable prior to using _CLIPTEXT in the Debug window. The following code illustrates how the data could be stored prior to using the variable in the Debug Window. * Type the following commands from the Command window;
MODIFY COMMAND Clipit * Program Clipit comments start here. * The program will store a replicated value to a memory variable. * Then the variable value is stored into the system memory variable * called _CLIPTEXT. * * Initialize memory variables. M = 0 && Multiplier Value S = " " && String value to replicate R = " " && Contains the Result of replication. CLEAR && Clear the initial display screen. @ 1,5 SAY "Enter Value for Multiplier " GET M @ 3,5 SAY "Enter Symbol to replicate " GET S READ R = Replicate("&S",(M)) _CLIPTEXT = R+" ** End of String ** " && Store value to _cliptext ? _CLIPTEXT && Display Results * End of Clipit program. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem
|
Additional reference words: FoxWin FoxDos 2.50 2.50a 2.50b 2.60 2.60a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |