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 - set margin to set the left margin http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 set margin to       Set the left margin
------------------------------------------------------------------------------
 Syntax
   set margin to uMargin

 Arguments
   uMargin is the width of the left margin.

 Description
   The set margin to command sets the left margin to uMargin.

   The default value of set margin is 0. The margin specified in a reportdef
   or labeldef is added to this value. The margin applies only to the
   printer and alternate file.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_setmarginto
   set printer to "test.txt"
   set print on
   ? "Margin is", istr( getmargin() )
   set margin to 10
   ? "Margin is", istr( getmargin() )
   set print off
   set printer to
   type "test.txt"
   erase "test.txt"
   endproc

   proc main
   Test_setmarginto()
   endproc

See Also: getmargin()

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