Skip to content

Queue_RemoveFrontValue

Sancky edited this page Sep 26, 2022 · 3 revisions

Description

Remove the front (first) value from a queue.

Syntax

Queue_RemoveFrontValue(queue)

Example

new Queue:queue<10>;

Queue_InsertValue(queue, 1);
Queue_InsertValue(queue, 5);
Queue_InsertValue(queue, 10);
Queue_InsertValue(queue, 15);

Queue_RemoveFrontValue(queue);

Returns

Returns the removed value, otherwise INVALID_QUEUE_VALUE.

Clone this wiki locally