Chapter Contents |
Previous |
Next |
PUTLIST |
Syntax | |
Details | |
Examples | |
See Also |
Syntax |
PUTLIST <arg-list | n> |
Details |
The PUTLIST command
displays the contents of an SCL list in the debugger MESSAGE window. The list
starts with a left parenthesis, (
, to mark
its beginning, followed by the list of items separated by blanks. Each named
item is preceded by its name and an equal sign, =
,
but nothing is printed before items that do not have names. The PUTLIST function
ends the list with a right parenthesis, )
,
followed by the list's identifier number within square brackets.
If a list appears more than once in the list being printed,
the PUTLIST command displays (...)
listid for the second and subsequent occurrences of the list. You should
scan the output of the PUTLIST command for another occurrence of listid to view the full contents of the list. This prevents infinite loops
if a list contains itself as a sublist.
Examples |
DEBUG > putlist aThis produces the following output:
( 17 328 'Any string' )[5]
DEBUG> putlist 5This produces the following output:
( 17 328 'Any string' )[5]
object.dropoperations
, assuming that
dropoperations
is a valid list attribute on the object identified by object
:
putlist object.dropoperations ( COPY=( POPMENUTEXT='Copy here' ENABLED='Yes' METHOD='_drop' )[11601] MOVE=( POPMENUTEXT='Move here' ENABLED='No' METHOD='_drop' )[11599] LINK=( POPMENUTEXT='Link here' ENABLED='No' METHOD='_drop' )[11597] )[11593]
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.