1/*
2 * $Id: return.sql 4717 2011-11-07 00:28:07Z unsaved $
3 *
4 * Tests the new "return" statement, which is equivalent to a "break" statement
5 * with no parameter.
6 */
7
8* VAR=one
9\i return.isql
10* VAR=*{VAR} three
11
12* EXPECTED = one two three
13* if (*VAR != *EXPECTED) \q return statement failed: (*{VAR}) vs. (*{EXPECTED})
14
15* return
16
17\q return.sql ran past the return statement
18