Show/Hide Toolbars

XSharp

Invalid rank specifier: expected ',' or ']'

 

An array initialization was ill-formed. For example, when specifying the array dimensions, you can specify the following:

 

A number in brackets

Empty brackets

A comma enclosed in brackets

 

For more information, see Arrays and the X# specification (X# Language Specification) section on array initializers.

Example

 

The following sample generates XS0178.

 

 

// XS0178.prg