COBCH1850 Only permitted default value is NULL

The program specifies a default value other than NULL for a parameter of type object. NULL is the only allowable value.

Resolution:

Correct the code; then recompile.

Example:

In the following example, the default value of the o object is "Hello", which is not legal. The value of the o parameter in this context must be NULL.

       class-id Error1850.
       method-id Meth1(o as object = "Hello")
       end method.
       end class.