add ( object element ) : void
Caution: this function is an exception in Grimport. You need to use it in pointer mode. The pointer is the list.
Allows to add an element in a list.
Example
list=[1,2,3,4]
list.add(5)
console(list) //[1, 2, 3, 4, 5]
See also
putParameters
element
The element you need to add to the list in pointer