array.addat(3kaya) debian man page | unix.com

Man Page: array.addat

Operating Environment: debian

Section: 3kaya

Array.addAt(3kaya)					       Kaya module reference						Array.addAt(3kaya)

NAME
Array::addAt - Add an element to an array SYNOPSIS
Void addAt( var [a] array, a elem, Int idx ) ARGUMENTS
array The array to act on elem The new element idx The index of the element to add before DESCRIPTION
Add (in-place) an element before position idx array = [1,2,3,4,5,6,7]; addAt(array,5,2); // array = [1,2,5,3,4,5,6,7]; AUTHORS
Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ LICENSE
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. RELATED
Array.push(3kaya) is equivalent to idx = size(array) Array.removeAt(3kaya) Array.unshift(3kaya) is equivalent to idx = 0 Kaya October 2012 Array.addAt(3kaya)
Related Man Pages
binary.setblockdata(3kaya) - debian
prelude.isalnum(3kaya) - debian
prelude.ispunct(3kaya) - debian
prelude.isspace(3kaya) - debian
testing.randomint(3kaya) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Introduction
One instance of comparing grep and awk
A (ksh) Library For and From UNIX.com