New (UnicodeNamedArraylist constructor)

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Create a new UnicodeNamedArraylist object (UnicodeNamedArraylist class)


This method returns a new instance of a UnicodeNamedArraylist object.

Syntax

%uniNal = [%(UnicodeNamedArraylist Of itemType):]New

Syntax Terms

%uniNal A UnicodeNamedArraylist object variable that is set to a new UnicodeNamedArraylist object reference.
[%(UnicodeNamedArraylist Of itemType):] The optional class name in parentheses denotes a Constructor. See "Usage notes," below, for more information about invoking a collection Constructor.

Usage Notes

  • As described in "Using New or other Constructors", New can be invoked with no object, with an explicit class specification, or with an object variable, even if that object is Null:

    %uniNal = new %uniNal = %(unicodeNamedArraylist of object internationalShipment):new %uniNal = %uniNal:new

    Note: As shown above, when explicitly indicating the class, both the collection and the item datatype must be specified just as they are on the collection variable's declaration:

    %unirayl is unicodeNamedArraylist of object customer %unirayl = %(unicodeNamedArraylist of object customer):new