PA_GetDoubleParameter

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

version 2003


PA_GetDoubleParameter (params; index) double

ParameterTypeDescription
paramsPA_PluginParametersParameters received in PluginMain
indexshortIndex of the parameter in params
Function resultdoubleValue 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

Create a new plugin.

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