invalid function call | invalid function call
#1

Solved.
Reply
#2

do if (JobData[i][jobID]) not if (JobData[id][jobID])
Reply
#3

You're increasing i twice per iteration; once before the loop body and once after it. This means it'll skip every other item. So the only items that get checked are 1, 3, 5, 7, etc. Remove the ++ in the condition. And it should probably be < instead of <= as well.
Reply
#4

Quote:
Originally Posted by OneDay
Посмотреть сообщение
do if (JobData[i][jobID]) not if (JobData[id][jobID])
Thanks solved it yesterday.

Quote:
Originally Posted by Vince
Посмотреть сообщение
You're increasing i twice per iteration; once before the loop body and once after it. This means it'll skip every other item. So the only items that get checked are 1, 3, 5, 7, etc. Remove the ++ in the condition. And it should probably be < instead of <= as well.
Thanks solved it yesterday.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)