
-----------------------------------
Robotkubo
Sun Apr 17, 2016 9:44 pm

HELP FAST Syntax error at 'if'. expected ')'
-----------------------------------
Im making a game, if i dont get a response soon it wont matter, 

        Input.KeyDown (chars
        if chars (KEY_ENTER) then
            story
            % proceeds to the story procedure
        elsif chars ('i') then
            instructions
            % proceeds to the options procedure
        elsif chars ('m') then
            meme1
            % proceeds to the instructions procedure
        elsif chars ('z') then
            quit
            % quits the program
        end if


it should work but says syntax error at 'if'. expected ')' I HAVE NO IDEA what this is, it only highlights the first if and that's it. PLEASE HELP

-----------------------------------
Insectoid
Sun Apr 17, 2016 11:38 pm

RE:HELP FAST Syntax error at \'if\'. expected \')\'
-----------------------------------
It means that somewhere, probably close to the highlighted line, you're missing a ). It shouldn't take you more than thirty seconds to find.

-----------------------------------
DeoChomp
Tue Nov 08, 2016 1:48 pm

RE:HELP FAST Syntax error at \'if\'. expected \')\'
-----------------------------------
Its at Input.KeyDown, yout put (chars 
Its supposed to be (chars)
