From: Dave Thomas Date: 2002-07-19T01:54:55+09:00 Subject: Re: Q: "print usage_msg, exit 1 if error_flag" does not workO Mark Slagell writes: > (print error_message; exit 1) if error_flag > Or, if this is something that happens more than once, perhaps express the intent: def fatal_error(msg) puts msg exit 1 end .... fatal_error(error_message) if error_flag .... fatal_error(another_message) if another_flag