Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FAST TEXT SEARCH for Clipper v.2.0 - <b>isdelete()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   ISDELETE()

       Purpose

   Determine status of the SET DELETE ON/OFF command.

       Parameters

   None.

       Return Value

   .T. if SET DELETE ON, otherwise .F.

       Comments

   Use ISDELETE() in a UDF to query Clipper's delete setting, change 
   it if necessary, and then restore the original value.

       Example

   .
   .
   .
   if ISDELETE()             && is set delete on?
       set delete off        && turn it off!
       seek searchstr        && find all records, even deleted
   ones
   endif
   .
   .
   .

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