Stacks

Function CreateStack_N()

Returns a new number stack.


Function CreateStack_S()

Returns a new string stack.


Sub ClearStack_N(num_stack)

Removes all elements from the stack.

See also

ClearStack_S()


Sub ClearStack_S(str_stack)

Removes all elements from the stack.

See also

ClearStack_N()


Sub DeleteStack_N(num_stack)

Removes a number stack from memory.


Sub DeleteStack_S(str_stack)

Removes a string stack from memory.


Sub Push_N(num_stack, n)

Pushes a number onto a number stack.

See also

Pop_N()


Function Pop_N(num_stack)

Removes the top number off a number stack and returns it.

See also

Push_N()


Sub Push_S(str_stack, s$)

Pushes a string onto a string stack.

See also

Pop_S()


Function Pop_S$( str_stack )

Removes the top string off a string stack and returns it.

See also

Push_S()


Function Stack_Size_N(num_stack)

Returns the number of elements on a number stack.


Function Stack_Size_S(str_stack)

Returns the number of elements on a string stack.


Function Stack_N_Exists(num_stack)

Returns TRUE if the given number stack exists and FALSE if not.


Function Stack_S_Exists(str_stack)

Returns TRUE if the given string stack exists and FALSE if not.