Search Results for: Birds’ egg
. # array [ 1, 2, 5 ] [ "egg", "sausage", "bacon" ] arrays are heterogenous, i.e. they can contain things of different types. [ 1, 2, "red", "blue" ] [ null, false, 0, '', "" ] arrays are themselves things, and can contain other arrays. [ ["egg", "bacon"], ["egg", "sausage", "bacon"], ["egg", "spam"]
> 3 then { return "th" } return ["th", "st", "nd", "rd"][ ones ] } def ordinal (n) { return string( n, th(n) ) } # returns "42nd" ordinal( 42 ) and here's looping with for. it declares a symbol which you can't modify, but its value changes to each member of the sequence in turn. for x in ["bacon", "egg...
http://www.vcode.org/
. # array [ 1, 2, 5 ] [ "egg", "sausage", "bacon" ] arrays are heterogenous, i.e. they can contain things of different types. [ 1, 2, "red", "blue" ] [ null, false, 0, '', "" ] arrays are themselves things, and can contain other arrays. [ ["egg", "bacon"], ["egg", "sausage", "bacon"], ["egg", "spam"]
> 3 then { return "th" } return ["th", "st", "nd", "rd"][ ones ] } def ordinal (n) { return string( n, th(n) ) } # returns "42nd" ordinal( 42 ) and here's looping with for. it declares a symbol which you can't modify, but its value changes to each member of the sequence in turn. for x in ["bacon", "egg...
https://www.vcode.org/