Rev Packaged App hanging
Frank D. Engel, Jr.
fde101 at fjrhome.net
Mon Mar 7 19:03:00 EST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
No, it should be "/Users/steve/Desktop/JeopardyQs/TJsettings.txt" --
note the leading '/' character.
Like the other posters, however, I do think it would be much easier if
you just used the "put URL" method.
Consider something like:
function prefsFile
switch the platform
case "MacOS"
put specialfolderpath("preferences") into spfp
break
case "Win32"
if word 1 of the systemVersion is "NT" then
put specialFolderPath(26) into spfp
else
put specialFolderPath("system") into spfp
end if
break
default
put $HOME into spfp
break
end switch
return "file:" & spfp & "/TJsettings.ini" -- replace filename to
match yours
end prefsFile
Now you can do this:
put mySettings into URL prefsFile() -- save settings to prefs file
put URL prefsFile() into mySettings -- read settings from prefs file
On Mar 7, 2005, at 4:17 PM, Steve Bonham wrote:
> The "BUG TEST" line results in
> "Users/steve/Desktop/JeopardyQs/TJsettings.txt" which
> is accurate. But nothing is appearing in the fld "settings"
- -----------------------------------------------------------
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCLOu07aqtWrR9cZoRAggeAJ9ckgfzEGP5HsGKdVX8cla5X9QBFQCgj2ku
uVWWWUCLeBQxV8jyGZeXgy4=
=U5q/
-----END PGP SIGNATURE-----
___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the use-livecode
mailing list