I have an LC application that currently runs on Window and macOS, that I want to try to get running under LC 10 for the web. One characteristic of the app is that it opens a number of external stacks. On desktop platforms, these external stacks (outside the .EXE (windows) or .app package (macOS) are found in a folder at the same level as the installed application.

So if the app is installed at C:\Program Files\MyApp\MyApp.exe
The the folder containing the external stacks is at C"\Program Files\MyApp\FolderOfStacks\

I get the path of the mainstack and use it to construct the path to the folder

If I build for Web, is there some equivalent model for external stacks?

I get that I may need to have a:

switch platform()
  case "Win32"
  case "macOS"
     -- load external stacks the way I do now
     break
  case "web"
     -- load external stacks some other way
    break
end switch

but what is the web best practice for that 'some other way"? And is it different if I am testing locally vs hosting MyApp on a server?

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to