version 2003
PA_SetDateVariable (aVariable; newDay; newMonth; newYear)
Parameter | Type | Description | |
aVariable | PA_Variable * | Pointer to the variable to access | |
newDay | short | New value for the day field of aVariable | |
newMonth | short | New value for the month field of aVariable | |
newYear | short | New value for the year field of aVariable |
Description
The routine PA_SetDateVariable sets the content of the date variable pointed to by aVariable to newDay, newMonth, and newYear.
WARNING
The kind of of the variable pointed to by aVariable is set to eVK_Date 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.
Example
See Also
No reference.
Error Handling
PA_GetLastError keeps the last error that occurred before calling the routine.