Garry's Mod Wiki
An object returned by util.Stack.
Like a Lua table, a Stack is a container. It follows the principle of LIFO (last in, first out).
The Stack works like a stack of papers: the first page you put down (push) will be the last one you remove (pop). That also means that the last page you put down, will be the first to be removed.
Example
Output: Hello World!
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...