Hi RUBiksCUbe,
Where do you get this "Remaining" variable into negative? Are you setting it to "negative" somewhere before this loop as you stated in the example above?
Also, here I made the same code of yours in a different look.
It seems you only need the negative value for " messageScroll[writePos] = $0 "
Code:
for i = remaining to remaining + (rows - 1)
if i < 0 then
messageScroll[writePos] = $0
else
if i < messagelength then
messageScroll[writePos] = message[i]
else
messageScroll[writepos] = $0
endif
endif
writePos = writePos + 1
next i
Also, are you setting other variables to an initial value at the beginning?
--------------------------
Last edited by sayzer; - 25th September 2006 at 10:54.
"If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte
Bookmarks