ds_stack_create

This function creates a new stack 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 stack.

 

Syntax:

ds_stack_create();

 

Returns:

DS Stack

 

Example:

stack = ds_stack_create();

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