ds_priority_create

This function creates a new priority queue data structure and returns a Handle to it. This value should be stored in a variable and used in all further function calls relating to the priority queue.

 

Syntax:

ds_priority_create();

 

Returns:

DS Priority

 

Example:

p_queue = ds_priority_create();

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