xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

HB_ThisArray()

Retrieves an array or object from its pointer.

Syntax

HB_ThisArray( <pID> ) --> aArray|oObject

Arguments

<pID>
This is a pointer to an array or object as it is returned from function HB_ArrayID().

Return

The function returns the array or object pointer to by <pID>.

Description

Function HB_ThisArray() is the reverse function of HB_ArrayID(). It accepts the pointer returned from HB_ArrayID() (Valtype()=="P") and returns the corresponding array (Valtype()=="A") or object (Valtype()=="P").

Info

See also:Array(), HBObject(), HB_ArrayID()
Category: Array functions , Debug functions , Object functions , xHarbour extensions
Source:vm\arrayshb.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe