Trace (GenericNamedArraylist subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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==
<p class="code">[%rc =] %namrayl:Trace( [method]                  -
{{Template:GenericNamedArraylist:Trace syntax}}
[,&nbsp;NumWidth=itemnumlen]      -
[,&nbsp;Separator=separator]      -
[,&nbsp;NameWidth=itemnamelen]    -
[,&nbsp;Start=firstitem]          -
[,&nbsp;MaxItems=maxitems]        -
[,&nbsp;Label=label] )
</p>
==See also==
==See also==
{{Template:GenericNamedArraylist:Trace footer}}
{{Template:GenericNamedArraylist:Trace footer}}

Revision as of 15:25, 8 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

anyNal:Trace[( [itemFunction], [NumWidth= number], [Separator= string], - [Start= number], [MaxItems= number], [Label= string], - [NameWidth= number])]

See also