[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] [approve] Function-block change to return function result, and accept arguments

   block { |... args| 
      var result; 
      result = this.valueArray([{ |val| ^val }] ++

This would make block a break-able version of value.

Some folks on the Web forum were asking about this. I
have mixed feelings -- I think relying on early return
a lot is a bad programming habit. Could be useful
sometimes, though.


____   James Harkins /// dewdrop world
\  /   jamshark70@xxxxxxxxx
 \/    http://www.dewdrop-world.net

"... love and hot pants, peace, harmony..."
  -- Dick Lee, Hot Pants: The Musical