Trace (GenericNamedArraylist subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 8: Line 8:
==Syntax==
==Syntax==
<p class="code">[%rc =] %namrayl:Trace( [method]                  -
<p class="code">[%rc =] %namrayl:Trace( [method]                  -
                      [,&nbsp;NumWidth=itemnumlen]      -
<p class="code">[,&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>
</p>
</p>
==See also==
==See also==
{{Template:GenericNamedArraylist:Trace footer}}
{{Template:GenericNamedArraylist:Trace footer}}

Revision as of 22:34, 6 February 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