calgarychinese
MIS
If I have a code like the following:
line 1
line 2
line 3
call window.SetTimeOut("MyFunction()", 1000)
line 4
line 5
line 6
Am I correct that while the system will wait 1000msec before executing MyFunction, lines 4 to 6 won't wait? I hope to actually delay lines 4 to 6 as well, but they're not really part of MyFunction().... am I therefore forced to include lines 4 to 6 in MyFunction() as well then?
Thanks
CC
line 1
line 2
line 3
call window.SetTimeOut("MyFunction()", 1000)
line 4
line 5
line 6
Am I correct that while the system will wait 1000msec before executing MyFunction, lines 4 to 6 won't wait? I hope to actually delay lines 4 to 6 as well, but they're not really part of MyFunction().... am I therefore forced to include lines 4 to 6 in MyFunction() as well then?
Thanks
CC