current()
function returns the value of the current element in the array.
Each array has an internal pointer pointing to its "current" element, initially pointing to the first element inserted into the array.
Tip: This function will not move the internal pointer of the array. To do this, use next()
and prev()
functions.
Related methods:
Current ( array )
parameter | describe |
---|---|
array | Required. Specifies the array to be used. |
current()
function returns the current element (unit) in the array.
Each array has an internal pointer pointing to its "current" element, initially pointing to the first element inserted into the array.
current()
function returns the value of the array element currently pointed to by the internal pointer, and does not move the pointer. If the internal pointer points to the end of the cell list, current()
returns FALSE.