On 2/13/11 9:17 PM, Mark Wieder wrote:
Pete-
Sunday, February 13, 2011, 6:49:41 PM, you wrote:
Need some clarification on the use of the stackFiles property. I
have a file, xzy.livecode. It has a mainstack and several
substacks. I need access to the mainstack and some of the substacks
in my application. I set up a stackFiles entry referring to the main
stack with a path to the stack file, thinking that would get me
access to all the substacks but it looks like I have to set up a
stackFiles entry for each substack as well as the main stack, is
that correct?
Well, personally I never touch the stackfiles property. I suppose it's
got value if you need to package extra files that aren't substacks in
a standalone application, and Monte no doubt can comment to this.
I don't use it much either, I usually write a function that calculates
the relative file path and returns it. But I did use it a lot in one
project and it made a handy shortcut.
Pete, if you want to use stackfiles, you can make do with the single
entry you created that points to the mainstack. Then in your scripts,
refer to the substacks as "stack mySub of stack xyz".
I'm assuming these aren't substacks of the standalone's mainstack. You
don't need stackfiles for that, they're always available.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
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