-
Posted by switheyw on Sun, 09 Nov 2008 14:54:34
'test2' should have it's select() function call surrounded by parens in order to limit each run through the for loop to one return value. As written, each print line contains all remaing arguments after the index.
BTW: Your print examples contain commas. My interperter does not include commas between print fields.
Thanks for your fine work - Stephen
-
Posted by switheyw on Sun, 09 Nov 2008 14:54:34
'test2' should have it's select() function call surrounded by parens in order to limit each run through the for loop to one return value. As written, each print line contains all remaing arguments after the index.
BTW: Your print examples contain commas. My interperter does not include commas between print fields.
Thanks for your fine work - Stephen
-
Posted by jnwhiteh on Tue, 11 Nov 2008 05:02:19
Certain things like specific print outputs are different between interpreters (something I explain in the earlier chapters). The default Lua interpreter uses tab characters to separate different arguments while WoW is incapable of displaying tab characters (hence why we use commas to separate).