PA_SetTextVariable

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

version 2003


PA_SetTextVariable (aVariable; newText; len)

ParameterTypeDescription
aVariablePA_Variable *Pointer to the variable to access
newTextchar *New value for aVariable
lenlongLength 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 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