As a complete beginner with Revolution Iıve found it very hard to get a grip
on this. Itıs a big stumbling block for those used to Hypercard, where the
IDE was taken for granted, and the concept of a standalone was unfamiliar.
But the ability to deliver standalones cross-platform is a major attraction
of Revolution ­ so itıs disappointing that such a key feature as how to save
user changes to a stack is hard to grasp.

I can understand that a standalone is an application, and as such shouldnıt
modify itself ­ i.e. the user canıt save any changes within the application.
No problem ­ write it out to a file, and read it back in on startup. But
with structured data such as an Address Book you want to save the data as a
stack ­ thatıs the whole point!

The answer given in the documentation is to set up a "dummy" stack as the
mainstack, then do the work in a substack which is not itself compiled into
a standalone, but left as a Revolution file (.rev). I simply couldnıt get
this to work, until I came across the answer in the lists.runrev archive ­
go to the Standalone Settings item on the File menu - select the "Stacks"
tab - click the box to "Move substacks into individual stackfiles".

This makes the substack persist as a .rev. The standalone knows where it is
(automagically in the standalone's folder), and because it's a .rev it can
be saved...

Before finding this tip, I had been messing about for ages trying to get the
standalone to pick up .rev files that were not part of its stack file.

Ah wellŠ

-- 


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to