[V4REV] How correctly prepare stack for cross-platform use ?

Ruslan Zasukhin sunshine at public.kherson.ua
Sat Jun 11 17:08:47 EDT 2005


On 6/11/05 10:56 PM, "Klaus Major" <klaus at major-k.de> wrote:

Hi Klaus,

>> B) may be it is possible that stack itself on load and start set
>> correct
>> external according to current platform? But again I will need
>> include this
>> code into each stack ... May be exists way to put this code into
>> some shared
>> single stack ?
> 
> Exactly, you can do by "start using xyz"
> 
> A good idea is to use an (empty) substack "xyz", so you simply use
> something like:
> 
> on openstack
>     set the externals of stack "xyz" to "MacExternal.bundle" & CR &
> "WindowsExternal.dll"
>     start using stack "xyz"
>     ...
> end openstack
> 
> This way, every open stack can use the external.

So we have 

* one xyz stack
* it have only above one function

* all rest 50 stacks DO NOT have references to this xyz
    this is good.

Not clear to me:
  - so developer must at first manually open xyz in the revolution?
  - then he can use rest 50 projects, right ?

Or each from 50 projects somehow on open do open that xyz stack also?

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the use-livecode mailing list