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>wout() window function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  WOUT()                                                     Window Function
 Purpose..: Display a value in a window
-------------------------------------------------------------------------------
 Syntax...: wOut( [<uWin>], <uVal>, [<cClr>] ) --> NIL

 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.

            <uVal>    = the value to display at the current
                        row and column. It can be numeric or
                        character. The function goes hand in hand
                        with wPos().

            [<cClr>]  = window frame color. If not
                        specified, the window will default to the
                        setcolor() color.

 Returns..: NIL

 Remark...: It is the FreshWin equivalent of the Clipper
            function DevOut().

 Source...: WOUT.PRG
-------------------------------------------------------------------------------
 Example..: . The example uses wOut() in conjunction with wPos()
              to display the messages on the screen.

            wOpen( "Message" )

            wPos( ,0, 2 )
            wOut( ,"Enter ", "GR+/R" )
            wOut( ,"to Continue" )

            wPos( ,0, 32 )
            wOut( ,"Esc ", "GR+/R" )
            wOut( ,"to Exit" )

            As with all FreshWin window functions that alter the display,
            this function automatically hides and redisplays the mouse
            cursor if it is active.

See Also: wPos() wSay()

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