


     Stack(V1.3 in c:) (2.x/3.x internal)


     NAME
          Stack - Set or display the current stack size.

     SYNOPSIS
          Stack Size

     DESCRIPTION

            Stack is used to set aside a certain amount of memory 
        for the active CLI. This memory area is a buffer area 
        used by programs to work in. The default stack size is 
        4000 bytes, which is enough for most programs. If the 
        stack is too small the program won't run.

            Many programs require more stack than the default 
        setting of the Amiga's stack will give them.  You can use 
        this command to display the current amount of stack (by 
        using Stack without an argument), or you can change the 
        current amount of stack by providing an integer argument 
        to stack.

            You can check the stack size of all active system 
        tasks by using the Status command.


     KEYWORDS

        Size
            The bytes of memory set aside that you wish to assign 
        as stack space for the currently active CLI. If you don't 
        use the Size keyword, then the current stack size is 
        displayed.


     EXAMPLE
          1. To obtain a good healthy stack for programs:


                 Stack 10240


          2. To display the stack size of the currently active
             CLI:

               
                 Stack
