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

 Syntax
   func logical getfixed extern

 Arguments
   None.

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

 Description
   The getfixed() function returns the current setting of the
   fixed flag.

 Example
   #define EXAMPLE_MATH
   #include example.hdr

   proc Test_getfixed
   setdecimals( 1 )
   ? getfixed(), 1.234567890       // prints .f.
   set fixed on
   ? getfixed(), 1.234567890       // prints .t.
   setfixed( .f. )
   ? getfixed(), 1.234567890       // prints .f.
   endproc

   proc main
   Test_getfixed()
   endproc

See Also: getsetfixed()

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