Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse


Syntax

arraySetElement(array, index1, elem)

Package

array

Alias

setElement(array, index1, elem)

Pkg Usage

setElement(array, index1, elem)


...

Sets the value currentUser for the 13 th element of the array watchers.


Note


  1. If array is not defined as an array, the routine returns error.
  2. If index is not number the routine returns error.




Info
Starting with version 2.5 we added the indexing operator. It will work on arrays, strings, dates and interval.
You can simply write in your programs watchers[12] = currentUser() to refer to the 13 th element in the watchers array.


See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "array_routine" and space = currentSpace ( )
labelsarray_routines