Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - setnumpos() set scoreboard position of the num indicator http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 setnumpos()         Set scoreboard position of the Num indicator
------------------------------------------------------------------------------
 Declaration
   screen.hdr

 Syntax
   proc setnumpos extern
   param value int iRow, ;
         value int iCol

 Arguments
   iRow is the row position of the indicator.
   iCol is the column position of the indicator.

 Return
   None.

 Description
   This procedure is used to define the screen position of the Num
   scoreboard indicator. By default, the position is in the top row.

   For displaying scoreboard status indicators, it is necessary to call the
   set scoreboard on command. To hide one or more of the indicators, call
   the respective procedure with iRow set to -1.

 Example
   #define EXAMPLE_SCREEN
   #include example.hdr

   proc Test_setnumpos
   vardef
      char( 15 ) cName
   enddef
   cName := "Violetta"
   setcapspos(   0, 74 ) // relocate scoreboard indicators
   setinspos(    1, 74 )
   setnumpos(    2, 74 )
   setscrollpos( 3, 74 )
   set color to "bg/b, w/r, g/n"
   set scoreboard on
   clear
   @ 5, 5 get cName
   read
   endproc

   proc main
   Test_setnumpos()
   endproc

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