Difference between revisions of "PEXIST()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Applications
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to determine whether a function or procedure is active
 
Function to determine whether a function or procedure is active
Line 28: Line 24:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 17:35, 3 December 2009

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