PA_SetPointerValue


version 2004.1


PA_SetPointerValue (pointer; variable)

Parameter Type Description
pointer PA_Pointer The 4D pointer
variable PA_Variable New value to point to by the pointer

Description

The routine PA_SetPointerValue sets the value pointed to by pointer using the variable value. 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 the call, the specified value belongs to 4th Dimension, do NOT call PA_ClearVariable .

See Also

PA_GetPointerValue .

Error Handling

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