PA_GetPointerValue


version 2004.1


PA_GetPointerValue (pointer) → PA_Variable

Parameter Type Description
pointer PA_Pointer The 4D pointer
Function result PA_Variable Gets the value pointed to by the pointer

Description

The routine PA_GetPointerValue returns a copy of the value pointed to by pointer . This routine can be used with any kind of pointer (field, local, process, or interprocess variable and array element). It can be called in interpreted as well as in compiled mode.

After you have finished with the variable, call PA_ClearVariable .

See Also

PA_GetPointerKind , PA_GetPointerVariable , PA_SetPointerValue .

Error Handling

Use PA_GetLastError to see if an error occurred (Other pointer accessors do not touch PA_GetLastError ).