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

MCOUNT( [ aArray ] )

Purpose

Determine the number of memo fields in a file. If an array is passed, fill
it with the names of the memo fields.

Arguments

     aArray -- array to will with memo field names

Setup

A table is open and selected.

Example

     USE CUSTOMER
     LOCAL nMcount := MCOUNT(), aMfields

     IF nMcount ><N>0
        aMfields := ARRAY( nMcount )     && Size it
        ? MCOUNT( aMfields )             && Fill it
     ENDIF

Returns

The number of memo fields in a table.

Side Effects

Fills aArray if passed.

Artful Calls

POP_MSG

Source File

AA_MCOUN.PRG

See Also: MEMOFIELDS()

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