Re: Sequence initialisers for "for" loops
- Posted by Hawke <mdeland at NWINFO.NET> Jul 01, 1998
- 700 views
Lmailles at AOL.COM wrote: > for a=b to c by d do > why can't for loops take sequences for a, b, c and d? > for a={0,0,0} to {3,6,9} by {1,2,3} do > standard sequence matching rules apply. b,c and d > must have the same length IMHO: a worthy, logical, intuitive, clean, elegant and needed addition to Euphoria's interpreter. The core of the language is sequences and their manipulation. Using sequences in this manner, in loops, is natural. My unregistered (as soon as I sell a program, I'll register :) ) vote is a definitive and emphatic yes. take care--Hawke'