Hi,
I want to load a seperate stackfile via script in my app. Under Windows I use the go stack command to do this. But under Android I dont realise how to manage this.
The stackfile is saved in the "Substacks"-Subfolder - filename: "Main_App.livecode"... could someone pls give me an example-script how I can load this file (including path-settings)?
Thanks alot
Loading a seperate stackfile
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Loading a seperate stackfile
Hi Tom,
should work the same as on Windows once you know the correct path to the stack file
Try this:
...
put specialfolderpath("engine") & "/Substacks/Main_App.livecode" into tStack
go stack tStack
...
Hint, since iOS is CASE-sensitive!!! (and maybe ANDROID also?)
I would recommend to not use any UPPERCASE filenames at all!
Use LOWERCASE in all mobile related file- and foldernames to avoid possible headaches
Best
Klaus
should work the same as on Windows once you know the correct path to the stack file
![Cool 8)](./images/smilies/icon_cool.gif)
Try this:
...
put specialfolderpath("engine") & "/Substacks/Main_App.livecode" into tStack
go stack tStack
...
Hint, since iOS is CASE-sensitive!!! (and maybe ANDROID also?)
I would recommend to not use any UPPERCASE filenames at all!
Use LOWERCASE in all mobile related file- and foldernames to avoid possible headaches
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Best
Klaus
Re: Loading a seperate stackfile
Thanks alot Klaus... I´ll try and also change all to lowercase ![Smile :)](./images/smilies/icon_smile.gif)
edit: works fine![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
edit: works fine
![Smile :)](./images/smilies/icon_smile.gif)