Page 1 of 1

Create n-instances of main stack

Posted: Fri Aug 14, 2009 4:26 pm
by ale870
Hello,

I'm creating a special text editor using RunRev, and I created a main stack which acts as the editor window.
Now I wanted to be able to create more instances of this main window (main editor window), so the user will be able to open several editors without launching another executable file.

How can I create more instances of the same main stack? Can I make something like (just for example):

new stack "stackMain"

(but I do not want a new empty stack, I want another instance of the existing stack).

Thank you.

Posted: Fri Aug 14, 2009 4:47 pm
by FourthWorld
See the clone command.

Posted: Fri Aug 14, 2009 4:55 pm
by ale870
Thank you, I think that is the right command I was looking for!!

Posted: Fri Aug 14, 2009 9:03 pm
by whelkybaby
Hi ale870,

I wrote an article on my site a few months back (later published in the Rev newsletter). It might help you with what you're trying to do.

www.theworcestersource.com

There's also a demonstration stack there too.

All the best,

Steve

Posted: Fri Aug 14, 2009 10:04 pm
by ale870
Thank you,
I bookmarked your site!