Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.
the stacks
Value returned: a return-separated list of the full path names for all the open stacks, in front-to-back order
if the number of lines of the stacks = 1then ... -- only one stack openelse ... -- multiple stacks open
on whatStacks put longNamesToShort(the stacks) into theStacks answer "The stacks currently open are:" & return & return & theStacksend whatStacksfunction longNamesToShort longStackList put empty into shortStackList set the itemDelimiter to ":" repeat with lineNum = 1 to the number of lines in longStackList put last item of line lineNum of longStackList into ¬ line lineNum of shortStackList end repeat set itemDelimiter to comma return shortStackListend longNamesToShort
HyperTalk Reference
Version 0.8b4 (July 4, 2025)
Switch to Retro View