Keyword not allowed here

This warning is generated when you use a keyword such as if in a section that only allows settings, such as the default section. Remove the keyword to fix the problem.

Example of wrong code:

default:
  param MyParam
    if @OtherParam == 0
      default = false
    else
      default = true
    endif
  endparam

This does not work because if statements are not allowed in parameter blocks. Earlier versions of Ultra Fractal ignored this, but it now results in a warning to alert you that this code is incorrect.

You can use something like this instead:

default:
  param MyParam
    default = @OtherParam != 0
  endparam

See Also
Parameters
Warnings