max setting

This setting is either an int, float or complex value and specifies the maximum acceptable value for a parameter. It cannot be used with bool or color parameters.

The type of this setting is not important; it is automatically converted to the type of the parameter. The value of this setting must be greater than or equal to the value of the min setting. If this setting is not specified, there is no maximum value for the parameter.

This setting can only occur inside a parameter block.

Example:

  default:    float param MyParam      default = 4      max = 8 ; parameter can range from -infinity to 8.0    endparam    

See Also
default setting
min setting
Parameters

max setting