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_stackget() - save the mouse get stack to a memvar</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     m_stackget() - save the mouse get stack to a memvar
  Usage:    <string> = m_stackget()
  Params:   none
  Returns:  a string filled with the parameters you specified with
            prior m_stack() calls

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

                    m_stack(1, 12, 06, 12, 17)
                    m_stack(2, 13, 06, 13, 17)
                    m_stack(3, 15, 06, 15, 17)
                    m_stack(4, 15, 39, 15, 45)
                    m_stack(5, 15, 49, 15, 53)

                    tempstack = m_stackget()

                    ** do new m_stack here **
                    m_stacknew()
                    ...
                    ...
                    ...

                    * restore the get stack.
                    m_stackput(tempstack)

  Note:     You can also use m_stack() and m_stackget() to predefine
            your get stacks prior to using the get, say at the start of
            the program. You could load the get stack with parameters,
            and then immediately save them to memvars. Then later on,
            when you need to set the stack, just restore the appropriate
            memvar. You can also save the m_stack memvar to a mem or disk
            file. m_stackget() only saves those parameters that are
            defined so more than likely the m_stackget() variable
            returned is small.

            To achieve reactivation of a get on a mouse click, some
            keys are stuffed into the keyboard buffer so you should not
            stuff the keyboard at all after you issue an m_activate().
            If you stuff keys into the buffer, then the special keys that
            m_activate() stuffs into the buffer will be cleared away
            thereby causing the reactivation to possibly fail in some way.
            If you do stuff keys, during the reactivation the contents
            of the get are restored so the keys you stuff into the buffer
            will simply be ignored anyway.

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

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