LC makes my stack a substack

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

stam
Posts: 2688
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: LC makes my stack a substack

Post by stam » Sun Mar 31, 2024 6:03 pm

I've only skimmed the above, but agree with others:
the substack may still be there and causing issues as the go stack command presumably sees that first.

To make sure, you can look in the Project Browser (Tools menu), navigate to your mainstack and see if the substack is still there.
Or even simpler, just type in the msgBox:

Code: Select all

put the substacks of stack <your mainStack>
Regardless, if you want to specifically access a stack (even if named same as a substack) and assuming you have saved your mainstack, you can just

Code: Select all

go stack (specialfFolderpath("resources") & "/" & <stackname>.livecode)
and not rely on implicit paths - be explicit...

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”