Posted 17 October 2013 - 08:47 AM
Title: Table doesn't work correctly
Note: this is my second post
I was working on an api-kind-of thing, which saves everything outputted to the screen in a table. I was testing it, and it should not break the computer so i renamed the "term." to "a". Everything works fine, except for the "awrite( string )" function, which is the only function which writes into the table. Here is the code: http://pastebin.com/NJ2Jczqf. The very bottom lines are for testing, and then it outputs on the screen: "Random words.". Line 2: "Char at 1,2: " (nothing!?). But getting the character at 1,1 works, so that means awrite() only saves the first character, so what did i do wrong?
Note: this is my second post
I was working on an api-kind-of thing, which saves everything outputted to the screen in a table. I was testing it, and it should not break the computer so i renamed the "term." to "a". Everything works fine, except for the "awrite( string )" function, which is the only function which writes into the table. Here is the code: http://pastebin.com/NJ2Jczqf. The very bottom lines are for testing, and then it outputs on the screen: "Random words.". Line 2: "Char at 1,2: " (nothing!?). But getting the character at 1,1 works, so that means awrite() only saves the first character, so what did i do wrong?