Show/Hide Toolbars

XSharp

A value of an integral type expected

 

A variable was used in a situation where an integral data type was required. For more information, see Types.

Example

 

This error can occur when there is no conversion or if the available implicit conversions result in an ambiguous situation. The following sample generates XS0151.

 

 

// XS0151.prg