Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>attempt to append blank with optional retry</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Attempt to APPEND BLANK with optional retry
------------------------------------------------------------------------------

 Syntax

        GT_AddRec( nSeconds )

 Arguments:

      nSeconds - Number of retry attempts (one per second)

 Returns:

      .T. is successful, .F. otherwise

 Description:

      Attempts to perform an APPEND BLANK to a network table.  If successful,
      returns .F., with the blank record selected.  If unsuccessful, waits
      for one second and tries again until nSeconds attempts have been made.

      If nSeconds is 0, the routine will loop indefinately.

      The table to be added to should be SELECTed before calling.

 Examples:

      Add a record, aborting if not successful at the first attempt :

          GT_AddRec( 1 )

 Source: ADDREC.PRG

 Author:  Martin Colloby

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