Comparing integer and integer array element not working
Nielswps opened this issue · comments
Niels F. S. Vistisen commented
Trying to execute the lines:
integer i = 5;
integer array newIntArray = [i-4, i-3, i-2, i-1, i, i+1];
while(i <= newIntArray[5]) repeat {
i = i + 1;
console.print(i);
}
the following error appear:
E1: Illegal type conversion: Cannot compare integer with integer (TYPE_ERROR) on line 174
Line 174 being the while condition.