Hi there, This is probably really simple, but how do I use an or on the right hand side of an if? What I would like to do is this: if n == 3 or 5 puts "true" else puts "false" end I could slpit this up to be: if n == 3 puts "true" elsif n == 5 puts "true" else puts "false" end but the first way seems easier. The case I am having to use this on is quite a bit more compicated. Thanks in advance for your help. -- Tim Pettman Network Engineer VBCnet GB Ltd tjp / vbc.net www.vbc.net tel. +44 (0) 117 929 1316 fax. +44 (0) 117 927 2015