[Gambas-user] syntax error

Neil Fallon nfallo at ...734...
Sun Mar 6 17:42:18 CET 2005


Hi,

Could someone please look at this code and tell me why I am getting a
syntax error on the first line?  It's simple stuff that shouldn't be
generating an error.

DIM strQuestions AS String
DIM strWrong AS String

IF countCorrect > 1 THEN
    strQuestions = "questions"
ELSE
    strQuestions = "question"
END IF

IF countWrong > 1 THEN
    strWrong = "questions"
ELSE
    strWrong = "question"
END IF



Neil






More information about the User mailing list