Trace (GenericNamedArraylist subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 7: Line 7:
sent to the selected Trace stream (like the User Language Trace statement).
sent to the selected Trace stream (like the User Language Trace statement).
==Syntax==
==Syntax==
  [%rc =] %namrayl:Trace( [method]                  -
<p class="code">[%rc =] %namrayl:Trace( [method]                  -
                        [,&nbsp;NumWidth=itemnumlen]      -
                      [,&nbsp;NumWidth=itemnumlen]      -
                        [,&nbsp;Separator=separator]      -
                      [,&nbsp;Separator=separator]      -
                        [,&nbsp;NameWidth=itemnamelen]    -
                      [,&nbsp;NameWidth=itemnamelen]    -
                        [,&nbsp;Start=firstitem]          -
                      [,&nbsp;Start=firstitem]          -
                        [,&nbsp;MaxItems=maxitems]        -
                      [,&nbsp;MaxItems=maxitems]        -
                        [,&nbsp;Label=label] )
                      [,&nbsp;Label=label] )
</p>
==See also==
==See also==
{{Template:GenericNamedArraylist:Trace footer}}
{{Template:GenericNamedArraylist:Trace footer}}

Revision as of 20:54, 28 January 2011

Trace items (FloatNamedArraylist, NamedArraylist, and UnicodeNamedArraylist classes)


This subroutine displays the contents of a NamedArraylist in a readable form, useful for debugging, for example. Trace is identical to Print, except the result is sent to the selected Trace stream (like the User Language Trace statement).

Syntax

[%rc =] %namrayl:Trace( [method] - [, NumWidth=itemnumlen] - [, Separator=separator] - [, NameWidth=itemnamelen] - [, Start=firstitem] - [, MaxItems=maxitems] - [, Label=label] )

See also