On 17/11/2012, at 1:31 AM, john skaller wrote:
[]

Given the issues with functions .. maybe it's time to make a special
procedure that looks like a function. This will work:

        proc f (ret:&RET) (x:arg) {
                calculation;
                ret <- result;
        }

for example:

        proc get (ret:&RET) (chan: ischannel[RET]) {
                ret <- read chan;
        }

        var x:RET; get (&x) (chan);

Felix once had this with a special syntax:

        var x : RET <- get chan;

It looks like a function, but isn't.

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




------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to