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

FIELDCOUNT( cRoot [, nMmode ] )

Purpose

Determine either the number of fields matching root or the number of
the first empty field of that pattern.

Arguments

     cRoot   -- pattern to use in selecting fields.

     nMode 0 -- number of filled fields

               1 -- number of available fields

               2 -- returns an array of all fields contents

Setup

A file is open and selected.

Example

     USE AAI_DICT

     ? FIELDCOUNT( "Home_", 1 )          && Returns 10

Returns

If mode = 0, returns the number of filled fields; if 1, the number of
fields matching the pattern cRoot; if 2, an array of the contents of
all fields whose names match cRoot.

Side Effects

None.

Artful Calls

STRINT

Source Files

AA_DICT.PRG, AM_DICT.PRG

See Also: CHK_DICT()

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