ds_stack_create

Creates a new stack, returning its id.

Syntax:

ds_stack_create();


Returns: Real


Description

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


Example:

stack = ds_stack_create();

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


Back: Stacks
Next: ds_stack_destroy
© Copyright YoYo Games Ltd. 2018 All Rights Reserved