I'm not using it for any math operations, just to control the start of a for loop.
for some reason when remaining is negative this part "crashes"Code:for i = remaining toremaining + (rows - 1) if i < 0 then messageScroll[writePos] = $0 endif if i >= 0 and i < messagelength then messageScroll[writePos] = message[i] endif if i >= messageLength then messageScroll[writepos] = $0 endif writePos = writePos + 1 next i
Bookmarks