New (FloatNamedArraylist constructor): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(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...")
 
m (1 revision)
(No difference)

Revision as of 18:18, 5 January 2011

<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