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

 Syntax
   proc setconfirm extern
   param value logical lOn

 Arguments
   lOn is the new setting for the flag.

 Return
   None.

 Description
   The setconfirm() function sets the confirm flag according to the
   passed parameter.

 Example
   #define EXAMPLE_IO
   #include example.hdr

   proc Test_setconfirm
   ? getconfirm()                // prints .f.
   set confirm on
   ? getconfirm()                // prints .t.
   setconfirm( .f. )
   ? getconfirm()                // prints .f.
   endproc

   proc main
   Test_setconfirm()
   endproc

See Also: getsetconfirm()

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