DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing Deskshell commands

Function arguments

The special variable ``*'' holds the list of arguments to the current function. For example, in a drop_in_action: drop" script, the ``*'' variable will contain a list of the filenames of the icons that were dropped into the window.

The number of icons dropped is given by $#*. Each of the individual elements in ``*'' can be obtained with $*(1), $*(2), and so forth. For convenience, these can be abbreviated to $1, $2, and so forth.


Next topic: Initialization
Previous topic: Subsets

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005