Assigning Values to an Array: Difference between revisions

Content added Content deleted
(→‎{{header|Haskell}}: added mutable arrays)
(added APL)
Line 49: Line 49:
Result:
Result:
+333 +2 +33 +44 +55 +6 +7 +8 +333
+333 +2 +33 +44 +55 +6 +7 +8 +333

=={{header|APL}}==

array[index]←value

APL is array-oriented, and so there are many different and powerful ways to index and assign arrays. Asking an APLer how one assigns a value to an array index is like asking an Eskimo how one says "snow". The above is just tip of the iceberg (i.e. a direct translation of the non-array-oriented code examples on this page).


=={{header|AppleScript}}==
=={{header|AppleScript}}==