get("#517") -- mergeTexts -- assumes tbl has two columns function asciiTable(tbl) local c1, c2 = {}, {} for i = 1, #tbl do c1[i] = tbl[i][1] c2[i] = tbl[i][2] end return mergeTexts(c1, c2) end
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: | #521 |
Snippet name: | asciiTable |
Eternal ID of this version: | #521/1 |
Text MD5: | 67ef49102b6b680d81c9a30b0ff772b4 |
Author: | stefan |
Category: | |
Type: | Lua code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-03-11 18:39:48 |
Source code size: | 219 bytes / 11 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 639 / 167 |
Referenced in: | [show references] |