PEXIST()

From Recital Documentation Wiki
Revision as of 17:35, 3 December 2009 by Helengeorge (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Recital, Recital Server