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

 Syntax
   func char getdefault extern

 Arguments
   None.

 Return
   The current default path string.

 Description
   The getdefault() function returns the current default path string.

 Example
   #define EXAMPLE_FILE
   #include example.hdr

   proc Test_getdefault
   ? getdefault()
   ? curdir( 0 )
   set default to "c:\temp"
   ? getdefault()
   ? curdir( 0 )
   endproc

   proc main
   Test_getdefault()
   endproc

See Also: set default to

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