Previous Topic Next topic Print topic


COBCH1802 A table initializer expression cannot be a receiving item

A TABLE OF expression cannot be used as a receiving item.

In the following example, this error is returned for the MOVE command.

       class-id Class3 public.
       
       method-id main.
       procedure division.
          move null to table of string("new-string")
       end method. 
 
       end class.
Previous Topic Next topic Print topic