-
Notifications
You must be signed in to change notification settings - Fork 1
Queue_RemoveFrontValue
Sancky edited this page Sep 26, 2022
·
3 revisions
Remove the front (first) value from a queue.
Queue_RemoveFrontValue(queue)
new Queue:queue<10>;
Queue_InsertValue(queue, 1);
Queue_InsertValue(queue, 5);
Queue_InsertValue(queue, 10);
Queue_InsertValue(queue, 15);
Queue_RemoveFrontValue(queue);
Returns the removed value, otherwise INVALID_QUEUE_VALUE.