Navigation:  thinBasic Modules > VBRegExp >

VBRegExp_Release

Previous pageReturn to chapter overviewNext page

 

Description

 

Decrements the reference count for the calling interface on a object.

If the reference count on the object falls to 0, the object is freed from memory.

 

Syntax

 

n = VBRegExp_Release(pReg)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

pReg

Numeric

No

Regular expression handle created with VBRegExp_New function

 

Remarks

 

This function returns the resulting value of the reference count, which is used for diagnostic/testing purposes only.

 

Restrictions

 

See also

 

Examples