Ok so my issue is, I have looked and even copied how an if statement should analyse an input and I get the logic of an if statement. No matter how I try I cannot seem to get it to work and constantly end up with the error message "IF condition only takes one parameter at line ...."
I have looked at the darkbasic help in the application, various web resources and searched the forum but haven't found the answer yet.
So here is the code, please tell me what I'm doing wrong.
if ;Answer$ = "THEANSWER" exit
I will copy the entire code if required.
I have also tried without the quotation marks
This has become extremely frustrating for me, so any help will be appreciated.
Thank you