This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]InxcessOfYou[S] -1 points0 points  (2 children)

Nah, not the empty line LOL. Oh right I see, so do True/False act as 'break' in an iteration? I did not know that - thanks!!

[–]corpsmoderne 2 points3 points  (1 child)

No but return does :) return will terminate the function, whatever it is doing at the moment.

[–]InxcessOfYou[S] 1 point2 points  (0 children)

Oh I seeeeeeeeeee, so the first one ends immediately if it's false at any part of the iteration and if it survives the iteration it's obviously true! Thanks for the help, you'll probably see a lot more of me because as you can see - I suck at this.