Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Nanforum Toolkit v2.1 Reference Guide - <b>ft_dbthand()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_DBTHAND()
 Obtain the handle associated with an open .DBT file.
------------------------------------------------------------------------------

 Syntax

     FT_DBTHand() -> nHandle

 Arguments

    None

 Returns

   The file handle, or zero if no .DBT is open in the specified
   work area.

 Description

   For your own twisted reasons you may need make direct use of the
   file handle associated with a memo field file.  This function gives you
   that capability, but use it with care and don't blame me if you
   botch something up.

   By default this function works on the current work area, but can be
   made to work on any work area through the use of the standard Clipper
   alias operator.

   Be aware that this function makes use of Clipper's internal work
   area information which is subject to change in future versions of
   Clipper.  If this makes you uncomfortable then don't use this function,
   you spineless jellyfish.

   This function is written to adhere to Turbo Assembler's IDEAL mode.
   To use another assembler, rearrange the SEGMENT and PROC directives
   and make any other necessary changes to the source code.

 Examples

     QOut( FT_DBTHand() )

     // Try a non-current work area

     nHandle := THISFILE->( FT_DBTHand() )

     // This will return zero if no database is open in work area 133

     select 133
     QOut( FT_DBTHand() )


 Source: DBTHANDL.ASM

 Author: Ted Means

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