[Objectscript-devel] [OBJECTSCRIPT] Issue #OBJS120 - enhanced for loop
Brought to you by:
rob_d_clark
From: Rob C. <rob...@ma...> - 2003-05-09 02:46:23
|
You can view the issue detail at the following URL: <http://icandy.homeunix.org:443/scarab/issues/id/OBJS120> Type : Enhancement Issue Id : OBJS120 Reported by: Rob Clark rob...@ma... - (rob...@ma...) Details: Headline: enhanced for loop Description: an interesting idea for a "grammar" change would be a for loop that supports collections, such as "for( var obj in set)" which would translate to "for( var itr=set.iterator(); itr.hasNext(); ) { var obj = itr.next(); ... }" Severity: Minor Functional Area: grammar/parser Status: New |