ds_queue_tail(id)
Jump to navigation
Jump to search
Description
Gets the value at the tail of the given data structure queue, that is the value that was most recently added to the queue.
Parameters
Parameter | Data Type | Description |
---|---|---|
id | constant unsigned int | index of the data structure queue |
Return Values
variant: Returns the value that was most recently added to the queue.
Example Call
// demonstrates getting the most recent value in a queue
var val;
val = ds_queue_tail(myqueue);