Programmer Guide/Shell Items: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (Text replace - "S_TOOLS-STx" to "{{STX}}")
Line 2: Line 2:
== Introduction ==
== Introduction ==


S_TOOLS-STx implements a number of different objects which can be used to manipulate files, graphics, dialogs, etc. These objects are called ''shell items''. See [[Programmer_Guide/Shell_Items_Intro/Introducing_Shell_Items|Introducing Shell Items]] for an introduction to shell items. For a complete list of available shell items, see below.
{{STX}} implements a number of different objects which can be used to manipulate files, graphics, dialogs, etc. These objects are called ''shell items''. See [[Programmer_Guide/Shell_Items_Intro/Introducing_Shell_Items|Introducing Shell Items]] for an introduction to shell items. For a complete list of available shell items, see below.


A new instance of a shell item is created using the <code>[[Programmer_Guide/Command_Reference/NEW|NEW]]</code> command. For deleting an instance of a shell item, there is the <code>[[Programmer_Guide/Command_Reference/DELETE|DELETE]]</code> command.
A new instance of a shell item is created using the <code>[[Programmer_Guide/Command_Reference/NEW|NEW]]</code> command. For deleting an instance of a shell item, there is the <code>[[Programmer_Guide/Command_Reference/DELETE|DELETE]]</code> command.

Revision as of 17:58, 5 April 2011

Introduction

STx implements a number of different objects which can be used to manipulate files, graphics, dialogs, etc. These objects are called shell items. See Introducing Shell Items for an introduction to shell items. For a complete list of available shell items, see below.

A new instance of a shell item is created using the NEW command. For deleting an instance of a shell item, there is the DELETE command.

#tableItem := new table hugo   // will create a new table item called hugo
                               // and store its name (i.e., the string "hugo")
                               // in the variable #tableItem

   // either command will delete the recently allocated table item:
delete hugo                    // (a) delete the table item by its name
   // - OR -
delete $#tableItem             // (b) delete the table item by its name stored in #tableItem
   // - OR -
delete /Var #tableItem         // like (b), plus: the variable #tableItem will be cleared

Shell items (alphabetical list)

<splist parent=Programmer_Guide/Shell_Items sort=asc sortby=title showpath=no liststyle=unordered kidsonly=yes >

Navigation menu

Personal tools