Stack and Substacks... And I love Revolution 2!
Fran=?ISO-8859-1?B?5w==?=ois Cuneo
francois.cuneo at cuk.ch
Fri May 30 16:23:01 EDT 2003
>> In Revolution, if I want to have in ONE application some different windows
>> (palette, modal window for dialogs b.e.) is it possble to have some
>> MainStack or is it better to work with substack?
>
> Salut, François.
>
> Two important points:
>
> 1. On Windows (& 'nixes, I believe), an application cannot modify
> itself. So unless your application is static (ie: a presentation
> stack that does not change as a result of user interaction), any
> changeable information must be stored outside of the application
> itself or the app can only run on Mac OS.
>
> So if data is stored in a stack, it must NOT be the main application
> stack NOR a substack thereof. (Data can also be filed in an external
> file or database.)
>
> 2. Stack/substack nomenclature essentially just describes whether a
> stack is physically stored within another stack file or can have
> other stacks stored within it. Set the mainstack property of any
> stack to itself and it is a mainstack; Set the mainstack property of
> any stack to another stack and it is now a substack of that stack.
>
> A substack cannot itself contain substacks.
>
> Hope this helps.
Rob, thank you for your answer but in fact, I don't understand one thing:
What is the equivalent of a Supercard project in Revolution?
A mainstack with substacks or some main stacks in an application?
Thank you-
François
--------------
François Cuneo
Site Web dédié au Macintosh http://www.cuk.ch
E-mail: francois.cuneo at cuk.ch
More information about the use-livecode
mailing list