Storing and saving a setting in a stand alone

Kay C Lan lan.kc.macmail at gmail.com
Fri Jan 16 20:57:07 EST 2015


Jacque,

it's more likely I'm confused. You and Richard are the experts here so I
tend to be wary if I'm going against the flow.

The original post simply asked about Saving User preferences. Unfortunately
there was no mention of OS, nor was there any mention that it used to
'working for ages up until I upgraded to....' So I'm not sure that it's
related to the bug you mention but that may be an extra factor.

>From my perspective (NOT a full time programmer) I see the original post in
the same light as: 'I have a 10,000+ line file I need to step through, I
need to process each and every line, how do I do that." Although

repeat with x = 1 to the number of lines in myDataFile

is a valid and workable solution it is NOT the one that would be
recommended by most LC experts. Repeat for each would be recommended. It
has a known advantage.

Prior to iOS, the Splash Screen approach was a very neat and tidy solution
on all platforms, it still is on some platforms , BUT with the further
iOSification of OS X it may be becoming an even less tidy solution. IMO
(and I'm probably completely wrong) the recent in rush of interest in LC is
a combination of the Community Edition, it's cross-platform abilities and
the desire of people to build mobile Apps. For me (and it just might be me)
I learn a LOT from online example. I plagiarise. I take the online example,
see that it works then slowly modify it to suit my own particular needs. It
really really frustrates me when I take an example, verbatim, and it
doesn't work as advertised. IMO, it's even worse, and very counter
productive to have an example that works perfectly, on desktop, work weeks
or months adding features having it all work fine; then deploy to iOS and
it fail.

Richard,

Here's one lesson:

http://lessons.runrev
.com/m/4071/l/17375-how-do-i-save-custom-properties-in-a-standalone-application

Although if the reader bothered to read all the Comments they'd see that it
doesn't work on iOS.

I must be going crazy because I'm sure when I was last on that site there
were tags listed including 'splash' and 'splash stack' but I don't see them
any more. You can simply search the site for 'splash'. My original comment
about removing them was a little over the top, a clear banner note at the
top stating that the method will not work on iOS would suffice - as long as
there was a link to a How-To that did work on ALL platforms.

As for the User Guide there is only one mention of the Splash Stack
approach in a Note on page 299. As you imply, that one Note is rather
pitiful for a topic that would be far better served by an entire section
covering the multitude of options available, a nice matrix table of what
works and doesn't work on various platforms with the reference to the
sub-section that spells out how to achieve option B on platforms W,X,Y and
Z.



More information about the use-livecode mailing list