Please enable JavaScript to view this site.

A-Shell Reference

In XTREE, indicates that coldef parameter uses the advanced syntax.

In PCKLST, indicates that the prompt parameter is actually an XTREE advanced Coldef syntax specification, rather than simply a title string. However, because of the limited capabilities of PCKLST, it pays attention only to the cwidth and ctitle fields for the first column (cpos should be 1, and cformat should be S). ctitle is used for the PCKLST top title. All XTREE Advanced Coldef Options are ignored except SelChgExit. Using this format doesn't provide a lot of advantages in the PCKLST context, but it does allow programs that work in both PCKLST (text) and XTREE (GUI) modes to take advantage of a wider range of XTREE features when operating in the GUI mode without breaking compatibility with PCKLST in the text mode. For example:

prompt = "1~14~Pizza Menu~S~DefaultScale=120~ExitChars=01~SelChgExit=103~~"

The above string indicates that the width of the elements in the array is 14, that "Pizza Menu" should be used as the top title/prompt, and that the routine should exit with exitcode -103 whenever the selection bar is moved.  The DefaultScale and ExitChars options are ignored by PCKLST (but would be valid for XTREE).