Retrieving an Element of an Array: Difference between revisions

From Rosetta Code
Content added Content deleted
(Add Common Lisp)
(blanked page since people can't / don't read)
 
(165 intermediate revisions by 58 users not shown)
Line 1: Line 1:
{{task}}
{{DeprecatedTask}}

'''Please do not add new code, and merge existing code to the [[Arrays]] task.'''


In this task, the goal is to retrieve an element of an [[array]].
In this task, the goal is to retrieve an element of an [[array]].

==[[mIRC]]==
'''Interpeter:''' mIRC Script Editor
'''Library:''' [[mArray Snippet]]
alias readmyarray { echo -a $array_read(MyArray, 2, 3) }

==[[Common Lisp]]==
(defun array-value (array index)
(aref array index))


{{array operation}}

Latest revision as of 15:06, 29 November 2019

Retrieving an Element of an Array was a programming task. It has been deprecated for reasons that are discussed in its talk page.

Please do not add new code, and merge existing code to the Arrays task.

In this task, the goal is to retrieve an element of an array.