An optional endkey parameter may now be specified in the FOREACH statement, whose syntax is now:
FOREACH $$<itervar> in $<map>({<startkey>{,<endkey>})
Examples:
! iterate for .key($$i) ...
FOREACH $$i in $map() ! in entire map
FOREACH $$i in $map("PA") ! >= "PA"
FOREACH $$i in $map("PA","QZ") ! >= "PA" and <= "QZ"
FOREACH'REVERSE $$i in $map("QZ","PA") ! <= "QZ" and >= "PA"
Note that any program specifying the endkey parameter in an FOREACH statement will set the minimum version for the RUN to 1751. Previously compiled programs will continue to work as before.