version 2003
PA_GetDoubleParameter (params; index) double
Parameter | Type | Description | |
params | PA_PluginParameters | Parameters received in PluginMain | |
index | short | Index of the parameter in params | |
Function result | double | Value of the index parameter |
Description
The routine PA_GetDoubleParameter returns the value, of type double, of the index parameter in params.
See Create a new plugin for a description of parameter accessors.
NOTE:
The first parameter starts at index 1.
Example
Getting third parameter of a routine expecting a double.
aDouble = PA_GetDoubleParameter(params, 3);
See Also
Error Handling
PA_GetLastError keeps the last error that occurred before calling the routine.