Here's a useless stack data structure using AutoItObject and the latest AutoIt beta. [update: March 05, 2015] -- Maps behind the scenes.  Use maps as a stack.  Stack to map.  Bug fixes. [update: April 04, 2014] -- Uses ternary operators now.  New method: ToString.  Etc. [update: October 02, 2011] -- Two new functions and a bug fix. SimpleStack.au3 #include-once #include <Array.au3> #include "AutoItObject.au3" #Region ; SimpleStack Func SimpleStack() With _AutoItObject_Class()