Create new mainstack (not substack)

Klaus Major klaus at major-k.de
Fri Apr 22 11:52:05 EDT 2005


Hi Kurt,

> Hi Kurt,
>
> Why not?
> Yes you can!

Exactement, mon ami! :-)

> Le 22 avr. 05, à 17:31, Kurt Kaufman a écrit :
>
>> While running a stack (will be a standalone) I would like to create a 
>> new mainstack in a specific path. I understand that I can set this 
>> path by using the defaultFolder property.

Simply script:

...
create stack "Name of new stack here"
save "Name of new stack here" as (path_to_stack & "Name of new stack 
here.rev")
## Where- and whatever you like :-)
...

et voila! :-)

>> However, I don't seem to be able to save a new and separate stack, 
>> only a substack.  And I guess I can't set a substack's mainstack 
>> property to itself......(Rev Win 2.0.3)

...
set the mainstack of "Name of substack here" to "Name of substack here"
## :-)
...

> Amicalement,
> Eric Chatonet.
> ----------------------------------------------------------------
> So Smart Software

Best

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the use-livecode mailing list