Saving stuff in a standalone

Ken Ray kray at
Thu Oct 10 11:06:01 EDT 2002


To write data to a text file is a simple as taking the data you want to
write (like the contents of a variable or field) and using this syntax:

  put <dataToWrite> into url ("file:" & <pathToFile>)

And to read the data, use this syntax:

  put url ("file:" & <pathToFile>) into <dataFromFile>)

So for example, if I wanted to read data from the file
"Enterprise:MyFolder:MyData.dat" on my OS X system, I would say:

  put url ("file:/Enterprise/MyFolder/MyData.dat") into myData

Hope this helps,

Ken Ray
Sons of Thunder Software
Email: kray at
Web Site:

----- Original Message -----
From: "Timothy Hart" <Timothy_Hart at>
To: <use-revolution at>
Sent: Thursday, October 10, 2002 10:08 AM
Subject: Re: Saving stuff in a standalone

> use-revolution at writes:
> >Sorry to keep bugging about this but I just don't have it yet.  I do have
the documentation even in print form.  I can't even get rev to write to a
test file.  I guess that would work.  What I guess I would really like to do
is have other stacks
> >linked to my stand alone that would be able to be saved.  I am not sure
how to do this though.  Any help would be appreciated.  Thank.
> >
> >-Tim
> Sorry again.  I figured out how to save my stack as a refereced in
standalone.  I am still wondering how to write to a text file.
> -Tim
> _______________________________________________
> use-revolution mailing list
> use-revolution at

More information about the Use-livecode mailing list