PA_SetDateVariable

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

version 2003


PA_SetDateVariable (aVariable; newDay; newMonth; newYear)

ParameterTypeDescription
aVariablePA_Variable *Pointer to the variable to access
newDayshortNew value for the day field of aVariable
newMonthshortNew value for the month field of aVariable
newYearshortNew 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 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