Array length: Difference between revisions
Content deleted Content added
add Zig example |
|||
Line 2,254:
<lang php>print count(['apple', 'orange']); // Returns 2</lang>
=={{header|Picat}}==
<lang>main =>
L = ["apple", "orange"],
println(len(L))),
println(length(L)),
println(L.len),
println(L.length).</lang>
{{out}}
<pre>2
2
2
2</pre>
=={{header|PicoLisp}}==
|