10 REM RETURN ends a GEN early, exactly as END GEN would: a GEN is a
20 REM function at heart, and only EMIT is different about it. Like a
30 REM GOSUB's or DEF's RETURN, it must stand in the GEN's own scope,
40 REM not inside a FOR or DO the body opened.
50 GEN FIRSTFEW(N#)
60     EMIT 1
70     IF N# < 2 THEN RETURN
80     EMIT 2
90     IF N# < 3 THEN RETURN
100     EMIT 3
110 END GEN
120 FOR EACH V# IN FIRSTFEW(2)
130     PRINT V#
140 NEXT V#
150 PRINT "DONE"
