Differences

This shows you the differences between the selected revision and the current version of the page.

at:tutorial:modular 2013/02/26 15:53 at:tutorial:modular 2013/05/17 20:24 current
Line 163: Line 163:
  };   };
  def each: clo {   def each: clo {
-    start.to: end do: clo+    start.to: end-1 do: clo
  };   };
}; };
Line 376: Line 376:
def contains(tbl, elt) { def contains(tbl, elt) {
  { |return|   { |return|
-    1.to: tbl.length + 1 do: { |i|+    1.to: tbl.length do: { |i|
      if: (tbl[i] == elt) then: {       if: (tbl[i] == elt) then: {
        return(true)         return(true)
 
 
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki