Posted 04 June 2014 - 12:22 AM
Problem:
1. after first input is wrong program is "stuck" in loop until correct input is typed, removing elseif part didn't seems to help (v2) - program ignores everything past line 28
2. In v2 term.clear and setcursor, clears "rendering verdict" text, but doesn't do anything about first message (cursor is set under it)
I tried removing/adding "end"s in diffrent spots, but it doesn't change anything.
Any sugestions?
Versions:
v1: http://pastebin.com/yAL1C5gm
v2: http://pastebin.com/hykez4sq
1. after first input is wrong program is "stuck" in loop until correct input is typed, removing elseif part didn't seems to help (v2) - program ignores everything past line 28
2. In v2 term.clear and setcursor, clears "rendering verdict" text, but doesn't do anything about first message (cursor is set under it)
I tried removing/adding "end"s in diffrent spots, but it doesn't change anything.
Any sugestions?
Versions:
v1: http://pastebin.com/yAL1C5gm
v2: http://pastebin.com/hykez4sq