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 - getmargin() return the margin setting http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 getmargin()         Return the margin setting
------------------------------------------------------------------------------
 Declaration
   getset.hdr

 Syntax
   func uint getmargin extern

 Arguments
   None.

 Return
   The current margin setting.

 Description
   The getmargin() function returns the current margin setting.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_getmargin
   ? getmargin()                 // prints 0
   setmargin( 14 )
   ? getmargin()                 // prints 14
   set margin to 5
   ? getmargin()                 // prints 5
   endproc

   proc main
   Test_getmargin()
   endproc

See Also: getsetmargin()

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