version 2003
PA_SetTimeVariable (aVariable; newValue)
Parameter | Type | Description | |
aVariable | PA_Variable * | Pointer to the variable to access | |
newValue | long | New value for aVariable |
Description
The routine PA_SetTimeVariable sets the content of the time variable pointed to by aVariable to the long newValue.
WARNING
The kind of of the variable pointed to by aVariable is set to eVK_Time by the routine, even if it was not its previous kind.
Make sure not to change 4D variable kinds (using PA_GetVariable), especially in compiled mode.
NOTE
A 4D time is a long, equal to a number of seconds.
Example
See Also
No reference.
Error Handling
PA_GetLastError keeps the last error that occurred before calling the routine.