Dim fb() As Int
fb = Array As Int(0, 1, 2, 3, 4)
Dim uA As Int
In order to print a zero-based arrangement, we must iterate from 0 to the length of the arrangement minus 1, using the for loop, it could exist in the language, also, a for loop using in place of the keyword 'to' the word 'until' indicates that the for loop will be iterated as long as the loop variable 'for' is less than the limit. That is, there would be two forms of for: for to and for until.
For uA = 0 To fb.Length - 1
Log("uA = " + fb(uA))
Next
For uA = 0 Until fb.Length
Log("UA = " + fb(uA))
Next
In the 'for to' loop, the sentences within the for loop are iterated while the iteration variable is less than or equal to the limit.
In this, second, 'for until', the sentences within the for loop are iterated as long as the iteration variable is less than the limit.
For example, comparing with the C language, it would look something like this:
for (int uA = 0; uA <5; uA ++)
So, instead of the user always putting minus -1, in the limit variable, it uses the 'until' sentence that indicates that the sentences within the will be iterated while the iteration variable is smaller than the limit.