Thread: randomstring2
View Single Post
  #4  
Old 12-30-2008, 02:53 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Quote:
Originally Posted by LoneAngelIbesu View Post
What's the upside to using a string, rather than an array? I imagine that an array offers the possibility of using multiple-character bits, instead of just single character bits.
No upside to using a string, I just didn't feel like doing temp.source = {"A", "B", "C", etc};
I think it's generally bad practice to use a while() loop where a for() loop can be used, and right now it doesn't look like you have any loop protection, so if you input incorrect parameters you can break the loop limit.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote