version 2003
PA_SetTextVariable (aVariable; newText; len)
Parameter | Type | Description | |
aVariable | PA_Variable * | Pointer to the variable to access | |
newText | char * | New value for aVariable | |
len | long | Length of newText |
Description
The routine PA_SetTextVariable sets the content of the text variable pointed to by aVariable to the text newText.
Pass a pointer to the new text value in newtext and its length in len.
WARNING
The kind of of the variable pointed to by aVariable is set to eVK_Text 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 Also
No reference.
Error Handling
PA_GetLastError keeps the last error that occurred before calling the routine.