On 28/01/2014, at 1:00 PM, srean wrote:
> There is also iterating over 'compact' data types / generalized arrays,
> although you covered it with the [20] example. I guess you are the only
> person who has whole of Felix resident in your mind.
You're kidding :)
> Its a pity unmatched parenthesis is out. I like those the most.
I could live with them but a lot of people couldn't. Too many
tools, editors, IDE's etc etc rely on balanced brackets.
Of course it's not impossible, after all brackets in *strings* don't
have to be balanced.
However there's another argument: subranges just aren't important
enough to waste valuable notation.
subrange (a,b)
is a bit verbose but it's acceptable.
Actually there are two distinct kinds of loops:
1. Special purpose (integer) loops
2. General iteration
We need (1) to implement (2). However this is good enough:
var i = 0;
label:>>
blah;
if i < 20 do ++i; goto label; done
--
john skaller
[email protected]
http://felix-lang.org
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/felix-language