Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>m_stacknum() - get parameter from m_stack()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     m_stacknum() - get parameter from m_stack()
  Usage:    <integer> = m_stacknum(<get#>,<param#>)
  Params:   integer <get#> - the get number defined in m_stack()
            integer <param#> - the number of the parameter to get

  Returns:  integer equal to the coordinate <param#> defined for
            get number <get#> or -1 if undefined or parameter(s)
            supplied are out of range.

 ---------------------------------- Example ---------------------------------

                    m_stack(1,11,02,11,26)
                    m_stack(2,13,15,13,65)

                    ? m_stacknum(2,1)
                    * prints 13

                    ? m_stacknum(1,4)
                    * prints 26

                    ? m_stacknum(3,1)
                    * prints -1

   Note:    You can also use m_stack() and m_stacknum() as place
            holders for your get prompt coordinates. You can display your
            prompts via a for next loop that retrieves the starting
            row/col coordinates from m_stack() to be used in the
            print() or @ .. say.

See Also: m_stack() m_stackget() m_stackput() m_stacknew()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson