Difference between revisions of "PEXIST()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to determine whether a function or procedure is active | Function to determine whether a function or procedure is active | ||
− | |||
==Syntax== | ==Syntax== | ||
PEXIST(<expC>) | PEXIST(<expC>) | ||
− | |||
==See Also== | ==See Also== | ||
− | [[FUNCTION]], [[DISPLAY PROCEDURE]], [[LIST PROCEDURE]], [[PROCEDURE]], [[RETURN]], [[SET PROCEDURE]] | + | [[CLASS_EXISTS()]], [[FUNCTION]], [[FUNCTION_EXISTS()]], [[DISPLAY PROCEDURE]], [[LIST PROCEDURE]], [[PROCEDURE]], [[RETURN]], [[SET CLASSLIB]], [[SET PROCEDURE]] |
− | + | ||
==Description== | ==Description== | ||
The PEXIST() function determines whether the specified user defined function or procedure is active. The procedure or function is specified by the character expression <expC>. If the procedure or function specified by <expC> is active, the PEXIST() function returns .T., otherwise .F.. | The PEXIST() function determines whether the specified user defined function or procedure is active. The procedure or function is specified by the character expression <expC>. If the procedure or function specified by <expC> is active, the PEXIST() function returns .T., otherwise .F.. | ||
− | |||
==Example== | ==Example== | ||
Line 21: | Line 17: | ||
endif | endif | ||
</code> | </code> | ||
− | |||
==Products== | ==Products== | ||
Line 27: | Line 22: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Libraries]] | ||
[[Category:Lianja VFP Extensions]] | [[Category:Lianja VFP Extensions]] | ||
[[Category:VFP Function Extensions]] | [[Category:VFP Function Extensions]] |
Latest revision as of 05:44, 19 March 2013
Purpose
Function to determine whether a function or procedure is active
Syntax
PEXIST(<expC>)
See Also
CLASS_EXISTS(), FUNCTION, FUNCTION_EXISTS(), DISPLAY PROCEDURE, LIST PROCEDURE, PROCEDURE, RETURN, SET CLASSLIB, SET PROCEDURE
Description
The PEXIST() function determines whether the specified user defined function or procedure is active. The procedure or function is specified by the character expression <expC>. If the procedure or function specified by <expC> is active, the PEXIST() function returns .T., otherwise .F..
Example
if not pexist("myproc") set procedure to mylib endif
Products
Lianja, Lianja Server