Show/Hide Toolbars

XSharp

Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)

 

This error occurs when a size is specified as part of an array declaration. To resolve, use the new Operator expression.

 

The following example generates XS0270:

 

 

// XS0270.prg  
// compile with: /t:module