ds_priority_create

Creates a new priority queue, returning its id.

Syntax:

ds_priority_create();


Returns: Real


Description

This function will create a new priority 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 priority queue.


Example:

p_queue = ds_priority_create();

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


Back: Priority Queues
Next: ds_priority_destroy