opening another stack

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Glenn Boyce
Posts: 137
Joined: Thu Jul 24, 2008 11:22 pm

opening another stack

Post by Glenn Boyce » Fri May 28, 2010 5:15 am

I have set up a completely separate stack to hold all my data. I want this data stack to open when I open my application stack. It all works fine if i open the stack manually first and it gets put into memory. but as soon as I close revolution down completely and open up my main stack it can't find the data stack. There has to be areally simple way of doing this. I've read the manual and can't get any help from that and I've wasted over 3 hrs today trying different things to get it work. Ca someone please set me right.

Curry
Posts: 111
Joined: Mon Oct 15, 2007 11:34 pm
Contact:

Re: opening another stack

Post by Curry » Fri May 28, 2010 5:26 am

Code: Select all

put filename of this stack into f
set itemdel to "/"
put "myotherstack.rev" into last item of f
open stack f
The two stacks are in the same folder.

(Or make it a substack.)
Best wishes,

Curry Kenworthy

LiveCode Development, Training & Consulting
http://livecodeconsulting.com/

WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/

Glenn Boyce
Posts: 137
Joined: Thu Jul 24, 2008 11:22 pm

Re: opening another stack

Post by Glenn Boyce » Fri May 28, 2010 7:22 am

I knew it would be simple.
Thats got it. thanks very much

Post Reply