n=1 for i=1, 10 do n=n*i end return n
test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #583 |
Snippet name: | Lua for loop example |
Eternal ID of this version: | #583/1 |
Text MD5: | 51417b6c2b6d6ccb263594b282c20d16 |
Author: | stefan |
Category: | lua examples |
Type: | Lua code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-04-21 19:29:28 |
Source code size: | 43 bytes / 5 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 742 / 197 |
Referenced in: | [show references] |