??? 10/28/08 14:48 Read: times |
#159423 - multi-line conditional Responding to: ???'s previous message |
I quite often have multi-line constructs:
if (ring_detected || programming_button_pressed || alarm_clock_ringing || supply_voltage < battery_alarm_level || now >= last_line_test + LINE_TEST_INTERVAL || pending_alarm && now >= last_alarm_send_time + ALARM_RESEND_TIME || ...) { wake_up(); } or maybe return decode_header() && decode_data() && checksum_ok(); |