Closed martinboers closed 2 years ago
The User Arrays example causes an Index Out of Range error.
In this for/next statement: https://github.com/PLCnext/CSharpExamples/blob/e61401b857c506ef1f4e5c68bed573418f32f9b5/PLCnext_CSharpExamples/04_UserArray/FBWithUserArray.cs#L147
... the comparison operator should be <, not <=.
<
<=
The User Arrays example causes an Index Out of Range error.
In this for/next statement: https://github.com/PLCnext/CSharpExamples/blob/e61401b857c506ef1f4e5c68bed573418f32f9b5/PLCnext_CSharpExamples/04_UserArray/FBWithUserArray.cs#L147
... the comparison operator should be
<
, not<=
.