New (InvalidRegex constructor)

From m204wiki
Revision as of 02:25, 18 April 2011 by Dme (talk | contribs)
Jump to navigation Jump to search

Create a new InvalidRegex object (InvalidRegex class)

Each argument to New sets the value of the corresponding property of the newly constructed InvalidRegex object.

Syntax

%invalidRegex = [%(InvalidRegex):]New( Position= number, Code= number, - Description= string)

Syntax terms

%invReg A reference to an instance of an InvalidRegex object.
Code=code This name required parameter specifies the numeric value (code) to be assigned to the exception object's Code property.
Description=desc This name required parameter specifies the string value (desc) to be assigned to the object's Description property.
Position=pos This name required parameter specifies the numeric value (pos) to be assigned to the object's Position property.

See also