ds_queue_create

Creates a new queue, returning its id.

Syntax:

GML Code Example

ds_queue_create();


Returns: Real


Description

This function will create a new queue data-structure and return the index value. This value should be stored in a variable and used in all further function calls relating to the queue.


Example:

GML Code Example

queue = ds_queue_create();

This will create a new queue and assign its index id to the instance variable "queue".


Back: Queues



No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here