{"identifier":7047,"topic":"Functions","name":"stacks","text":"<code><pre>the stacks\n<\/pre><\/code>\nValue returned: a return-separated list of the full path names for all the open stacks, in front-to-back order <br>\n","related":{"95475":"windows"},"examples":"","demo":"on whatStacks\n   put longNamesToShort(<b>the stacks<\/b>) into theStacks\n   answer \"The stacks currently open are:\" & return & return & theStacks\n end whatStacks\n <br><br>\n\n function longNamesToShort longStackList\n   put empty into shortStackList\n   set the itemDelimiter to \":\"\n   repeat with lineNum = 1 to the number of lines in longStackList\n     put last item of line lineNum of longStackList into \u00ac\n     line lineNum of shortStackList\n   end repeat\n   set itemDelimiter to comma\n   return shortStackList\n end longNamesToShort\n ","debug":{"9":["the stacks\r\rValue re"]}}