PRB: WPARENT() Gives Error in 3.0 Different from Error in 2.xID: Q130277 3.00 WINDOWS kbprg kbprb The information in this article applies to:
SYMPTOMSPassing too many parameters to the function WPARENT() as in:
results in different error messages in versions 2.x and 3.0. Error message
# 1230 is returned in Visual FoxPro 3.0 as:
whereas error message # 214 is returned in previous versions as:
STATUSThis behavior is by design.
MORE INFORMATIONVisual FoxPro checks the number of arguments in the function before checking for the existance of the window in question. FoxPro 2.x checked to see if the window existed before it checked to see if the function had too many arguments. FoxPro 2.x ignored a second argument.
Steps to Reproduce ProblemIssue the command:
where the window "no_window" has not been defined.
Notice different error messages are returned in 2.x and 3.0. Additional reference words: 3.00 VFoxWin KBCategory: kbprg kbprb KBSubcategory: FxprgUdwindow
|
Last Reviewed: May 1, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |