PA_SetVariableParameter

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

version 2003


PA_SetVariableParameter (params; index; variable; clearOldValue)

ParameterTypeDescription
paramsPA_PluginParametersParameters received in PluginMain
indexshortIndex of the parameter in params
variablePA_VariableNew value of the variable parameter
clearOldValuecharDispose of previous data

Description

The routine PA_SetVariableParameter sets the value of the index parameter in params to variable.

Pass a PA_Variable in variable.

Set clearOldValue to 1 when creating the new 4D variable using PA_CreateVariable. In this case, you must dispose of the previous 4D variable content.

This routine is primarily used for arrays.

See Create a new plugin for a description of parameter accessors.

NOTE:

The first parameter starts at index 1

See Also

Create a new plugin.

Error Handling

None.


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