Loop control variable cannot be a property or a late-bound indexed array
The variable used to iterate through a For
loop must be of a numeric data type.
Error ID: BC30039
- Change the declaration of the loop control variable to specify
Integer
,Short
,Long
,Byte
,Single
,Double
, orDecimal
.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: