Enqueue function
The enqueue queue function as follows:
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"
array.enqueue("two")
array.enqueue("three")
// array now contains three items.
// array[0] is "one", array[1] is "two" and array[2] is "three"
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*