Search found 3 matches
- Sun Apr 12, 2015 6:37 am
- Forum: Support and Development
- Topic: Question about indexing tables
- Replies: 7
- Views: 2943
Re: Question about indexing tables
To beat a dead horse, how about simply: blocks = { { name = "block1", funct = function() print"Debug" end }, { name = "block2", funct function() print"Debug" end } } and use a simple 'for' loop? for I = 1, #blocks do print( blocks[ I ].name ) end You could us...
- Thu Aug 14, 2014 8:41 pm
- Forum: Support and Development
- Topic: True False Statments
- Replies: 6
- Views: 3858
Re: True False Statments
If you mean: local a, b, c; If a is true, b / c can't be true; If b is true, a / c can't be true; If c is true, a / b can't be true. That's not possible automatically, unless you're using a table with metamethods: local abc = {} setmetatable(abc, { __index = { a = false, b = false, c = false }, __ne...
- Fri Mar 09, 2012 3:50 pm
- Forum: General
- Topic: Survey: Do You Support Framebuffers and/or Non-Po2 [RERUN]
- Replies: 92
- Views: 42836
Re: Survey: Do You Support Framebuffers and/or Non-Po2 [RERU
ATI Radeon HD 6850, AMD Phenom X4 965 (iirc)
Framebuffers, Non-Po2
Framebuffers up to the size 32768^2
Po3 Framebuffers up to the size 19683^2
Framebuffers, Non-Po2
Framebuffers up to the size 32768^2
Po3 Framebuffers up to the size 19683^2