PA_SetTimeVariable

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_SetTimeVariable (aVariable; newValue)

ParameterTypeDescription
aVariablePA_Variable *Pointer to the variable to access
newValuelongNew 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 PA_SetStringVariable

See Also

No reference.

Error Handling

PA_GetLastError keeps the last error that occurred before calling the routine.


4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next