Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

if ((x == 1) or ( x==2))

 
Mannie J Chaihan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I not use "and" and "or" in my if statements?
 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sure you can:
 
Mannie J Chaihan
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Of course.. Silly me. Thanks :roll:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic