M
Martin DeMello
came up with this while refactoring some code:
case
when test_1; report_error test_1
when test_2; report_error test_2
when test_3; report_error test_3
else; do_success
the nice thing is that it automatically exits the structure at the
first failing test.
martin
case
when test_1; report_error test_1
when test_2; report_error test_2
when test_3; report_error test_3
else; do_success
the nice thing is that it automatically exits the structure at the
first failing test.
martin