View Single Post
# 11 02-06-2003 , 06:59 PM
kbrown's Avatar
Moderator
Join Date: Sep 2002
Location: London, UK
Posts: 3,198

Originally posted by mark_wilkins
[B]There's no reason to check the size of the array or loop by index. A for-in loop does that all for you:

Hehe, can you see the paranoid C programmer in me? :p

The only reason I could imagine why to check the size is that if you want to throw a warning message or something if there's nothing or no transform nodes selected...

Also, what's up with the quote marks at the beginning and ending of a block of code? Is that a vBulletin thing??

Dunno... to me it looks ok, no quote marks whatsoever...user added image


Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!

Last edited by kbrown; 02-06-2003 at 07:01 PM.