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 - setcapspos() set scoreboard position of the caps indicator http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 setcapspos()        Set scoreboard position of the Caps indicator
------------------------------------------------------------------------------
 Declaration
   screen.hdr

 Syntax
   proc setcapspos 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 Caps
   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_setcapspos
   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_setcapspos()
   endproc

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