PA_SetRealVariable


version 2003


PA_SetRealVariable (aVariable; newValue)

Parameter Type Description
aVariable PA_Variable * Pointer to the variable to access
newValue double New value for aVariable

Description

The routine PA_SetRealVariable sets the content of the real variable pointed to by aVariable to the double newValue .

WARNING

The kind of of the variable pointed to by aVariable is set to eVK_Real by the routine, even if it was not its previous kind.

Make sure that you do not change 4D variable kinds (using PA_GetVariable ), especially in compiled mode.

Example

See PA_SetStringVariable

See Also

No reference.

Error Handling

PA_GetLastError

keeps the last error that occurred before calling the routine.