New (FloatNamedArraylist constructor)

From m204wiki
Revision as of 17:59, 5 January 2011 by 198.242.244.47 (talk) (Created page with "<span style="font-size:120%; color:black"><b><section begin=dpl_desc/>Create new FloatNamedArraylist instance<section end=dpl_desc/></b></span> [[Category:FloatNamedArraylist met...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<section begin=dpl_desc/>Create new FloatNamedArraylist instance<section end=dpl_desc/>

New is a member of the FloatNamedArraylist class.

This method returns a new instance of a FloatNamedArraylist.

Syntax

  %fnamrayl = New

Syntax Terms

%fnamrayl
A FloatNamedArraylist object that is set to a new FloatNamedArraylist object reference.

Usage Notes

  • New is a constructor and therefore can be called with no object, with an explicit class name, or with an object variable, even if that object is null:
        %fnamrayl = new
        %fnamrayl = %(floatNamedArraylist):new
        %fnamrayl = %fnamrayl:new
    
    note

    When using the second of these syntax options of New, which explicitly indicates the class, both the collection and item datatypes must be specified just as they are on the collection variable's declaration:

        %fnamrayl  is collection FloatNamedArraylist of longstring
        %fnamrayl  = %(FloatNamedArraylist of longstring):new