Difference between revisions of "PEXIST()"

From Lianjapedia
Jump to: navigation, search
m (Text replace - "Recital" to "Lianja")
Line 27: Line 27:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Lianja VFP Extensions]]
 +
[[Category:VFP Function Extensions]]

Revision as of 07:46, 10 December 2012

Purpose

Function to determine whether a function or procedure is active


Syntax

PEXIST(<expC>)


See Also

FUNCTION, DISPLAY PROCEDURE, LIST PROCEDURE, PROCEDURE, RETURN, 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