Array length: Difference between revisions

Content added Content deleted
Line 2,671: Line 2,671:


=={{header|RPL}}==
=={{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.
The <code>SIZE</code> instruction 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
{ "apple" "orange" } SIZE
{{out}}
{{out}}