-
Notifications
You must be signed in to change notification settings - Fork 1
Queue_IsFull
Sancky edited this page Sep 17, 2022
·
3 revisions
Check if the queue is full.
Queue_IsFull(queue)new Queue:queue<5, 1000>;
Queue_InsertValue(queue, 5);
Queue_InsertValue(queue, 10);
Queue_InsertValue(queue, 15);
Queue_InsertValue(queue, 20);
Queue_InsertValue(queue, 25);
print(Queue_IsFull(queue) ? "Queue is full." : "Queue is not full.");Returns true if the queue is full, otherwise false.