On 02/03/2014, at 2:28 PM, srean wrote:

> 
> And so it is in Felix. For example if you want this to work:
> 
>         proc closure () { println$ i; }
> 
> Shouldnt this be an error unless there is an i accessible at this point ?

Yep, left it out ..

> If not this is too macro'ish
>  
>         for i in 0 to 9 do
>                 a . i = closure;
>         done

and of course the syntax is 

        for i in 0 upto 9 do ..

[upto not to]

The point of all this is: variables, as used in Algol and C are crap.
The idea is completely inconsistent.

--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to