[Tutor] or synxtax in if statement

David Bear david.bear at asu.edu
Fri Aug 31 21:40:04 CEST 2007


I think I want to be lazy and express this

if a == b | a = c
(if a equal b or a equals c)
using

if a == b | c

it seems to work.. but I'm not sure if it is correct -- and I haven't seen
any documentation on using this type of syntax.


-- 
--
David Bear
College of Public Programs at Arizona State University



More information about the Tutor mailing list