PRB: How to Change Variable Value Passed by Reference in LCKID: Q122591 2.50x 2.60 2.60a 3.00 3.00b | 2.50x 2.60 2.60a | 2.50b 2.50c 2.60a
The information in this article applies to:
- Microsoft Visual FoxPro for Windows, versions 3.0, 3.0b - Microsoft FoxPro Library Construction Kit included with the
SYMPTOMSWhen passing a variable by reference to a Library Construction Kit (LCK) library and changing the value of that variable in the library routine, sometimes the variable in FoxPro in not changed correctly. This behavior occurs usually with a numeric variable.
RESOLUTIONUsually VAL.EV_LONG is used when working with numbers that are passed from FoxPro. If the numeric variable is passed by reference and the user wants to change the variable so that FoxPro sees the change, then EV.TYPE should be used. The following sample code is an example.
Sample Code
STATUSThis behavior is by design. Additional reference words: FoxWin FoxDos FoxMac 2.50 2.50a 2.50b 2.50c 2.60 2.60a LCK 3.00 3.00b KBSubcategory: FxtoolLck
|
Last Reviewed: May 22, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |