Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>wnext() window function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WNEXT()                                                    Window Function
 Purpose..: Return the ID of the window after the one named
-------------------------------------------------------------------------------
 Syntax...: wNext( [<uWin>] ) --> cNxtWinID

 Arguments: [<uWin>] = the string identifier of the window
                       OR the reference to the window structure
                       returned as an array by wNew() or wArray().
                       If not passed, the function will operate on
                       the window in focus.

 Returns..: <C> The name of the window after the one named.
            If there is no window after that specified, the first
            window in the stack is returned. This behaviour
            is similar to SET WRAP ON.

 Source...: WNEXT.PRG
-------------------------------------------------------------------------------
 Example..: The example example will print "Three" and "One".

                 wNew( "One" )
                 wNew( "Two" )
                 wNew( "Three" )
                 wNew( "Four" )

                 ? wNext( "Two" )   // Prints "Three"
                 ? wNext( "Four" )  // Prints "One"

See Also: wPrev() wHead() wTail()

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