HELP FAST Syntax error at 'if'. expected ')'
Author |
Message |
Robotkubo
|
Posted: Sun Apr 17, 2016 9:44 pm Post subject: 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 |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Insectoid
![](http://compsci.ca/v3/uploads/user_avatars/13760332514cbd0ce972eaa.jpg)
|
Posted: Sun Apr 17, 2016 11:38 pm Post subject: 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. |
|
|
|
|
![](images/spacer.gif) |
DeoChomp
|
Posted: Tue Nov 08, 2016 1:48 pm Post subject: RE:HELP FAST Syntax error at \'if\'. expected \')\' |
|
|
Its at Input.KeyDown, yout put (chars
Its supposed to be (chars) |
|
|
|
|
![](images/spacer.gif) |
|
|