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

ARRAY_DIR( [ cSkeleton[, aArray ]] )

Purpose

Creates a sorted array of file names matching the optional path argument,
which may include directories.

Arguments

     cSkeleton -- optional drive \ path \ file specification;
                      defaults to "*.*"

     aArray -- if passed, array to fill with sorted filenames
                   matching spec

Setup

None.

Example

     LOCAL ra1[ ADIR( "*.*" ) ], ra2 := ARRAY_DIR()
     ARRAY_DIR( NIL, ra1 )
     AEVAL( ra1, { |x| QOUT( x ) } )
     AEVAL( ra2, { |x| QOUT( x ) } )

Returns

The sorted array of filenames.

Side Effects

None.

Artful Calls

None.

Source File

AA_ADIR.PRG

Notes

This is provided for backward compatibility only. Use SHOWDIR().

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