Shymus Roffo Posted February 8, 2012 Share Posted February 8, 2012 Are there any other examples of a 'for' loop on the Wiki cause I'm currently trying to learn the loop and the wiki post on it is sorta help full. Also i'm looking at what it can be used for? Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted February 8, 2012 Share Posted February 8, 2012 I don't know how many examples containing for loops there are in th wiki, but a frequent use is to go through a list and do something with the individual values - you'll find an example here or here. Another example is events that can return several values (very often keys) like the sensor event - see an example here (btw. in the llSensor and the sensor articles the while loop is used. If you are tackling the for loop, take a look at the while loop (and do while), too). By now, you should have a pretty good basic idea what the loop is used for and in what context it is used Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now