• Post Reply Bookmark Topic Watch Topic
  • New Topic

illegal start of expression  RSS feed

 
Varuna Seneviratna
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


"illegal start of expression" What causes this error.I can not figure out.I changed even the the combination of relational operators <== and >==
I want a integer returned between 1 and 6
Varuna
 
Leroy J Brown
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For starters the syntax for your relational operators is wrong. Try using

and


Should patch you up quick.
 
Varuna Seneviratna
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Tristan!
I was stressed out I could even figure out that


Varuna
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!