Thank goodness for that, and I thought it was only me that didn't understand
I had the same problem, as I was trying to use code from languages such as Python..
The easiest way I have found is to use the loopindex as the controlling factor and check to see if that has reached the upper value of the loop.
I believe as many as you want as long as you are only using one at a time, but if I'm wrong I'm sure somebody will say
You won't regret it
I did have a similar thought about 3 weeks ago, but took the plunge and purchased a license. It was the best thing that I have done in a long time.
Many thanks to you both, I now have a little better idea about loops. Now just to experiment with them!!
Bruno thanks for the reply, yes sorry my mistake, but why does it increment by 10 when I do as you suggested.
Do for loops not work the same as in for example Python, where from my above code the loop would count from 1 to 10, using the loop as the counter?
Develop games in your browser. Powerful, performant & highly capable.
Can somebody please help me understand the loop functions
I am just trying to create a simple loop
for a = 1 to 10
print a
next
Have looked in the forum but I am none the wiser
have attached the .capx file, and any help appreciated
Thanks
Just discovered these tutorials. Thank you so much
Member since 21 Dec, 2014