The STACK.CMD sample in the \TOOLKIT\SAMPLES\REXX directory demonstrates
how to implement a stack class using the ::class and
::method directives. This sample also includes a short example of the use
of a stack.
For this sample to function properly, Object REXX must be installed.