Enqueue function


enqueue queue.

enqueue (item)

Adds the item to the end of the array. This is equivalent to the array function Array-add-function but adds in readability when using the array as a first-in first-out (FIFO) queue.

Parameters:

item - item to be added to the array

Returns:

There is no return value for this function.

Example

array.enqueue("one")
array.enqueue("two")
array.enqueue("three")
// array now contains three items.
// array[0] is "one", array[1] is "two" and array[2] is "three"

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*