Since ENDPARAM serves to terminate a parameter definition (which is started by the PARAM keyword), it should appear after the parameter definition. Example:
param MyParam default = 1.0
Add the ENDPARAM keyword to the end of the parameter definition to correct the error:
param MyParam default = 1.0 endparam
See Also
Errors