Page 1 of 1
referring to other stacks: include .livecode extension
Posted: Wed Jun 11, 2025 4:31 pm
by Martin-HC
I work on different locations with different OS systems. I experience a lot of troubles when I try to (pre) load stacks under Win10 or Win11. Under Win10 I get away with "start using stack xxx" but under Win11 I have to use "start using stack xxx.livecode"
Is this a known issue? And how to resolve this?
Re: referring to other stacks: include .livecode extension
Posted: Wed Jun 11, 2025 6:40 pm
by dunbarx
Hi.
I don't see anything in the dictionary that requires the extra ".livecode". The syntax says "any stack reference". Perhaps something in Windows 11? You may need to ask Scotland.
Craig
Re: referring to other stacks: include .livecode extension
Posted: Wed Jun 11, 2025 7:30 pm
by stam
Perhaps you need to provide a full file path rather than a relative one? The extension does not matter…
Re: referring to other stacks: include .livecode extension
Posted: Wed Jun 11, 2025 8:18 pm
by dunbarx
Stam.
That still would mean a change somewhere in Windows, since v.10 does not care.
Craig
Re: referring to other stacks: include .livecode extension
Posted: Wed Jun 11, 2025 10:27 pm
by stam
OR it could mean that an incorrect file name/path was passed. Or that the Win version of LC is now more finicky. Since we both know extensions aren’t the issue, it’s worth a try.
The last thing I would do is assign this to a change in Windows - while that’s not impossible, user error is the commonest culprit in errors that don’t make sense. And enforcing full file paths may eliminate an issue.
Re: referring to other stacks: include .livecode extension
Posted: Thu Jun 12, 2025 6:09 pm
by jacque
One solution that might help for both conditions is to set up the stackfiles property in the mainstack. That allows you to use the short stack name while the engine uses the long file name.
Re: referring to other stacks: include .livecode extension
Posted: Sat Jun 14, 2025 5:45 pm
by FourthWorld
Without seeing the code in question we can only guess.