Problem with editable field - what am I doing wong?

Troy Rollins troy at rpsystems.net
Sat Oct 29 16:58:29 EDT 2005


On Oct 29, 2005, at 3:18 PM, William de Smet wrote:

> After quitting and restarting the standalone application the changed 
> words are gone (not saved) and were back to the words I've put there.
> Is it possible to save words with simple scripting? Do I need to add a 
> database?

No, you just need to keep your data in a stack which is not a substack 
of the application. That way, you can issue "Save stack ..." from the 
application after changes have been made to it.

Create a new stack, keep your data field in it, and reference to it 
from your standalone main stack. (Standalone applications cannot save 
themselves.)
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net




More information about the use-livecode mailing list