Flexible Rules
Home Publications Examples Downloads API Overview API Doc Tutorials

insert

Synopsis:

(insert element at position 
			   in list)
(insert element at position 
		       in list 
		       of entity)

Description:

Inserts the element element at the index position in the list list of the current entity, resp. of the entity entity and returns the modified list.

Example:

(new var aList as [1,2,3,4])
(insert 5 at 3 in aList) --> [1, 2, 3, 5, 4]


Contact: Fulvio Frapolli (fulvio . frapolli //at// unifr . ch), Amos Brocco (amos . brocco //at// unifr . ch)
* Remove spaces and replace //at// with @
© 2009