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

FTOA( _field, _array [, _cond ;

      [, _start [, _stop ]]] )

Purpose

Create an array containing field expressions.

Arguments

     cField -- field expression to load

     aArray -- array to fill

     xcCond -- optional condition (must macro-expand to a logical
                   expression) to satisfy before filling

     nStart -- array element to start at; default 1

     nStop -- array element to stop at; default last element

Setup

Current table is open and pointer is at record to start at.

Example

     LOCAL cust_ra[ 10 ]
     USE CUSTOMER

     ? FTOA( "TRIM( LAST_NAME ) + ' ' ;
             + TRIM( FIRST_NAME ) ", cust_ra )

     AEVAL( cust_ra, { |x| QOUT( x ) } )

Returns

Number of elements in the array that were filled.

Side Effects

aArray6b is filled with the desired information. The table's record
pointer is repositioned to the record used to fill the last array element.

Artful Calls

None.

Source File

AA_FTOA.PRG

See Also: HELP_FILL() MENU_REC() ADEFAULT()

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