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

INIT_ARRAY( aArray, nSize[, pDefault ] )

Purpose

Create or modify an array to a specified size, optionally filling new
elements with a default value.

Arguments

     aArray -- array to create or modify; if you're creating a new
                   array, you may want to pass a dummy parameter (eg. NIL)

     nSize -- desired size of aArray

     pDefault -- value with which to fill any newly-created elements of
                     aArray; defaults to NIL

Setup

None.

Example

     LOCAL my_array := INIT_ARRAY( NIL, 10, .F. )

Returns

aArray, created or modified to the specified size.

Side Effects

Any new elements of aArray are filled with pDefault.

Artful Calls

None.

Source File

AA_MKTRA.PRG

See Also: AMOVE()

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