var/e=1
while(e<10)
for(var/mob/M in world)
M.RandomVar = E
E++
Will the whole thing stop the second E>=10, or, will the "for" continue until all the mobs have been checked, and THEN the "while" will be checked? Also, I read the Break help text, and it said you are meant to do "Break Label" with Label as whatever you labelled the loop. But how do you label a loop? And if you have something like this :
var/e=1
while(e<10)
for(var/mob/M in world)
M.RandomVar = E
if(E==5)
break
E++
Does the break stop the For and the While, or just the For? Now I know I could have done tests to find out MOST (but not all) of this information, but I thought that by asking on here, not only would I get the answers, but also the amazing opinions of the expert gurus on here too.
Thank you for your time!
[Edit]I knew that Garthor, I just missed it out :P Thanks![/Edit]
~Ease~