Command AP GET PARAM

4D Pack

AP GET PARAM

version 11 (Modified)


Compatibility Note: This command is now obsolete; it is kept only for compatibility reasons and will be removed in future versions of the plug-in. It is strongly recommended to use the Get database parameter command of 4D.

AP GET PARAM (option; value)

ParameterTypeDescription
optionIntegerNumber of the option to read
valueIntegerValue for the option

Description

AP GET PARAM allows you to read the internal 4D options usually set with 4D Customizer Plus. Using this command, you can restore a value set by 4D Customizer Plus when you want to temporarily change it using the command AP SET PARAM.

For more information about the value parameter, please refer to the AP SET PARAM command description.

Example

The following code allows you to retrieve the value of the parameter 2:

   AP GET PARAM(2;$param)

See Also

AP SET PARAM.