|
| 14 Jan 2014 08:08 PM |
I don't quite understand what this means: for i = 1, 10 do or something like that. can u help me understand it and when it is used? |
|
|
| Report Abuse |
|
|
| |
|
shawnyg
|
  |
| Joined: 21 Apr 2011 |
| Total Posts: 1428 |
|
|
| 14 Jan 2014 08:19 PM |
10 is the number of times the loop will repeat. I don't really know how to explain it.
~Hope I helped, if you need a script, PM me first then buy this when I tell you to: http://www.roblox.com/My-Script-Shirt-item?id=118961994~ ~Glory to CAT!~ ~CAT General Shawnyg~ |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2014 08:27 PM |
for i=1, 10 end print(i) end
10 is the number of times it repeats print(i) prints what loop it is currently doing i=1 is the number it goes up by. (i=2 would be 5 repeats)
|
|
|
| Report Abuse |
|
|
|
| 14 Jan 2014 08:28 PM |
*
for i=1, 10 do print(i) end
10 is the number of times it repeats print(i) prints what loop it is currently doing i=1 is the number it goes up by. (i=2 would be 5 repeats) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 Jan 2014 08:28 PM |
| No, i = 2 is where it starts. |
|
|
| Report Abuse |
|
|
| |
|