Array length: Difference between revisions

(Add lang example)
Line 2,669:
* "Array length: ('index')"
</syntaxhighlight>
 
=={{header|RPL}}==
The same instruction <code>SIZE</code> can be used for arrays (e.g. vectors) and lists. RPL arrays can only contain real or complex numbers, so we will use a list here.
{ "apple" "orange" } SIZE
{{out}}
<pre>
1: 2
</pre>
 
=={{header|Ruby}}==
1,150

edits