Returns the number of references to a procedure file.

 

Syntax

PROCREFCOUNT(<procedure file expC>)

<procedure file expC>

The filename or the path and filename of a procedure file.

 

Description

Use PROCREFCOUNT( ) to find the number of references to a procedure file. PROCREFCOUNT( ) accepts a single parameter which is the name of the procedure file or the full path and name of the procedure file for which you want the count returned.

The returned value is numeric.

Each time a procedure file is loaded it's reference count is incremented by one.

Each time a procedure file is closed it's reference count is decremented by one.

When a procedure file's reference count reaches zero, the procedure file is removed from memory and its contents are no longer accessible.

 

Use SET PROCEDURE TO <procedure file expC> to load a procedure file.

Use CLOSE PROCEDURE <procedure file expC> to close a procedure file.