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

 Syntax
   func logical getalternate extern

 Arguments
   None.

 Return
   A logical indicating the current setting of the respective system flag.

 Description
   The getalternate() function returns the current setting of the
   alternate flag.

 Example
   #define EXAMPLE_FILE
   #include example.hdr

   proc Test_getalternate
   ? getalternate()         // print .f.
   set alternate on
   ? getalternate()         // print .t.
   set alternate off
   ? getalternate()         // print .f.
   endproc

   proc main
   Test_getalternate()
   endproc

See Also: getsetalternate()

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