Change category from "LUA Functions" to "Lua functions".
(Added "for, in" syntax) |
(Change category from "LUA Functions" to "Lua functions".) |
||
| Line 1: | Line 1: | ||
Native Lua statement: | |||
for <variable> = <lowvalue>, <highvalue>,<step> do <statements>; end | |||
Executes 'statements' for each value of 'variable' from 'lowvalue' to 'highvalue', at a step value of 'step' inclusive. Other syntax options yet unknown. | Executes 'statements' for each value of 'variable' from 'lowvalue' to 'highvalue', at a step value of 'step' inclusive. Other syntax options yet unknown. | ||
| Line 44: | Line 42: | ||
[[User:Tigerheart|Tigerheart]] 03:34, 3 Nov 2005 (EST) - Added info on <step> | [[User:Tigerheart|Tigerheart]] 03:34, 3 Nov 2005 (EST) - Added info on <step> | ||
[[User:Tigerheart|Tigerheart]] 15:10, 7 Feb 2006 (EST) - Added "for, in" syntax | |||
{{LUA}} | |||