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

AFLENGTH( aArray [, nStart [, nStop ]] )

Purpose

Determines the total string length of fields named in an array.

Arguments

     aArray -- character array of field names

     nStart -- array element to start at (defaults to first element)

     nStop  -- array element to end at (defaults to last element)

Setup

None.

Returns

The total string length of the fields named in aArray. Note that the
fields are all MAKE_STR'd to determine their length, so the AFLENGTH of a
table will in all likelihood not match the total field length as
reported by the DBF.

Side Effects

None.

Example

     LOCAL _fieldnames
     USE CUSTOMER
     AFIELDS( _fieldnames := ARRAY( FCOUNT() ) )
     ? AFLENGTH( _fieldnames )

Artful Calls

MAKE_STR

Source File

AA_AFLEN.PRG

See Also: ALENGTH()

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