Harbour Reference Guide

 

__objGetValueList()

Return an array of DATA names and values for a given object

Syntax

__objGetValueList( <oObject>, [<aExcept>] ) --> aData

Arguments

<oObject> is an object to scan.

<aExcept> is an optional array with DATA names you want to exclude from the scan.

Returns

__objGetValueList() return a 2D array that contain pairs of a DATA symbol name and the value of DATA. __objGetValueList() would return an empty array {} if the given object does not contain the requested information.

Description

__objGetValueList() is a low level class support function that return an array with DATA names and value, each array element is a pair of: aData[ i, HB_OO_DATA_SYMBOL ] contain the symbol name aData[ i, HB_OO_DATA_VALUE ] contain the value of DATA
Examples
      // show information about TBrowse class
      oB := TBrowseNew( 0, 0, 24, 79 )
      aData := __objGetValueList( oB )
      FOR i = 1 to len ( aData )
          ? "DATA name:", aData[ i, HB_OO_DATA_SYMBOL ], ;
            "    value=", aData[ i, HB_OO_DATA_VALUE  ]
      NEXT
Status

Ready

Compliance

__objGetValueList() is a Harbour extension.

Files

Header file is hboo.ch Library is rtl

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/06/26