Parameters are not allowed here

You cannot use the value of a parameter in this expression. You can only use constant values and most predefined symbols. Example:

default:
  int param myParam
    default = @myParam  ; Error!
  endparam

This error also occurs when trying to use a plug-in parameter without the new operator. Example:

@myClassParam.Init()    ; Error!

MyClass obj = new @myClassParam
obj.Init()              ; OK

See Also
default setting
Errors