Storing location for a preferences file in a standalone stack?
Andre Garzia
andre at andregarzia.com
Sun Sep 30 14:22:27 EDT 2012
Richard,
Check out the specialFolderPath() function. It will give you a location to
write your preferences file.
On Sun, Sep 30, 2012 at 2:21 PM, Dr. Hawkins <dochawk at gmail.com> wrote:
> On Sun, Sep 30, 2012 at 9:27 AM, Dr. Hawkins <dochawk at gmail.com> wrote:
> > Is there a way that I can store and change a string in a standalone
> > stack to find the preferences file, where I can then stuff the rest?
>
> I think I've answered this diddling around; the executable file can't
> be changed (which would turn it into slef-modifying code, anyway . . .
>
> So I suppose I'll make a ~/.dhbk file, which will default to
> ~/.dhbk.sqlite, or some such . . .
>
> --
> Richard E. Hawkins, Esq.
> (702) 508-8462
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
--
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.
More information about the use-livecode
mailing list