Retrieving an Element of an Array: Difference between revisions

no edit summary
(→‎{{header|Tcl}}: xref to lists)
No edit summary
Line 71:
return item location in array
end getArrayValue
 
=={{header|AutoHotkey}}==
Arrays use one-based indexing. Array0 contains the number of elements.
<lang autohotkey>string = abcde
StringSplit, array, string
Loop,% array0
MsgBox,% array%A_Index%</lang>
 
=={{header|AWK}}==
Anonymous user