Saving data with Standalones

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jsburnett
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 121
Joined: Fri Mar 09, 2007 9:47 pm

Saving data with Standalones

Post by jsburnett » Fri Jan 16, 2009 12:13 am

Hi,
I am having troube saving data in a stack in a Standalone.

I created a substack and am putting data in fields that another substack looks for.

The data is saved well prior to changing the stack to a substack? Any thoughts?

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10057
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Post by FourthWorld » Fri Jan 16, 2009 1:51 am

Applications are prevented from modifying themselves, so this is true for Rev apps as well.

But it's easy enough to store data as other apps do, using either text files or stack files. In fact, with the flexibility of stack files it's probably easier in Rev than just about anything else. :)

For some good tips on saving data from a standalone, check out this article from revJournal.com:
http://www.revjournal.com/tutorials/sav ... ution.html
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply