Previous Topic Next topic Print topic


COBCH1766 Reference modification of objects is only allowed on strings and single dimensional arrays

Reference modification has been attempted on an object that is neither a string nor a single dimensional array.

The following example shows reference modification attempted on an invalid object type.

...
declare dt = System.DateTime::Now

display dt[1:6]  *> remove content in the parentheses
...
Previous Topic Next topic Print topic