Array Handler Foundation Class
Category | Data Utilities |
---|---|
Default Catalog | Visual FoxPro Catalog\Foundation Classes\Utilities |
Class | _arraylib |
Base Class | Custom |
Class Library | _utility.vcx |
Parent Class | _custom |
Sample | ...\Samples\Solution\Ffc\arrays.scx |
Remarks
This class provides methods for handling certain array operations that are not performed by Visual FoxPro array functions, including inserting and deleting specific array elements, and scanning an array by column.
To use, drop the class on a project or form or, from the Component Gallery Item Shortcut Menu, select Add to Project or Add to Form. When you add the class to a form, Visual FoxPro places the class icon on the form. You can specify the appropriate property values and provide any necessary input and output objects. When you drop the class on a project, you can choose between adding the class or creating a subclass.
See Guidelines for Using Visual FoxPro Foundation Classes for more information on using foundation classes.
Properties, Events, Methods | Description |
---|---|
AColScan method | Scans the column nColumn, of array aSearch for the value specified in sExpr. Syntax: AcolScan(@aSearch, sExpr, nColumn, lRetRow) Return: none Arguments: aSearch specifies the array to analyze. sExpr specifies the expression to seek. nColumn specifies the column of the array in which to seek sExpr. lRetRow specifies whether the method returns the row number in which sExpr was found. |
DelAitem method | Deletes an array element. Syntax: DelAitem(@aArray, wziRow) Return: none Arguments: aArray specifies the name of the array being processed. wziRow specifies the item to be deleted. |
InsAitem method | Inserts an array element.
InsAitem(@aArray, sContents, iRow) |
See Also
Guidelines for Using Visual FoxPro Foundation Classes | Visual FoxPro Foundation Classes A-Z | Foundation Class Samples