Getting a *standalone* to read & write to/from text file?
Alex Tweedly
alex at tweedly.net
Wed Mar 16 16:44:21 EST 2005
Steve Bonham wrote:
> So-- when I'm asking for the filename of this stack to be put into
> MyPathWay I can'd depend upon an absolute pathway- because of OS
> differences? Would using a relative pathway instead be wiser? If so
> how would I write that?
You should be able to (that's why my reply started "I don't think this
is the answer, ...")
It's not, by any chance, in a sub-stack is it ? The filename of a
substack will be empty - but you can use "the effective filename of this
stack" to get around that. And if it's in the Rev/Dreamcard Player, then
its filename will be empty even if it's a main stack. And if it's run
from RevOnline, then again the filename is empty .... but for a
standalone I thought it ought to give you the full path to the
application (and it does for me, Rev 2.5 on Win, standalone on Win).
Might be worth exploring a bit to see if there's a bug there that needs
reported.
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 15/03/2005
More information about the use-livecode
mailing list