Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

SETUP( nHndls [, lBool ] )

Purpose

Call HANDLES() to create a handles table for hndls files; set EXCLUSIVE ON
(single user) or OFF (multi-user); set SOFTSEEK and SCOREBOARD OFF and
DELETED ON.

Arguments

     nHndls -- the number of file handles required

     lBool -- if passed, whether to create a handles table of size
               nHndls, default is .T.

Setup

Significant database management applications usually require 30-100 file
handles. To accomplish this in Clipper, CONFIG.SYS must allocate an
adequate number of files.

In most DOS environments, calling SETUP() with lBool defaulting to .T.
makes a Clipper F setting unnecessary, because HANDLES() will create a new
handles table for your program to use, and restore the original handles
table pointer on exit. If your system is imcompatible with this process,
issue a Clipper F setting and call SETUP() with lBool .F.

Returns

NIL

Side Effects

Exits with a call to QUITPROG() if there are not enough file handles.

Example

SETUP( 55 )

Artful Calls

None.

Source Files

AA_SETUP.PRG, AM_SETUP.PRG

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