Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>setfieldextent()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 setFieldExtent()
 Establish the extent of the array of fields for a work area
------------------------------------------------------------------------------
 Prototype

     ERRCODE setFieldExtent(
                                AREAP wa,
                                LONG extent
                               )

 Arguments

     wa is a pointer to self.

     extent is the maximum number of fields that will be used by the
     work area.

 Description

     setFieldExtent() establishes the maximum number of fields that the
     work area will contain.

 Default Behavior

     Assigns extent to wa->uiFieldExtent and allocates memory for extent
     number of fields in wa->lpFields.

 Implementation Notes

     .  Most implementations should use the default behavior of
        setFieldExtent().  However, if your RDD allows dynamic addition of
        fields in the table, this method should set wa->uiFieldExtent to the
        maximum number of fields allowed for the work area (or provide for
        resizing of wa->lpFields) and allocate enough memory (in
        wa->lpFields) to store wa->uiFieldExtent number of fields.

 Files  Header file is Rdd.api.


See Also: AREA addField()

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