Saving stuff in a standalone
Ken Ray
kray at sonsothunder.com
Thu Oct 10 07:06:01 EDT 2002
Tim,
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 sonsothunder.com
Web Site: http://www.sonsothunder.com/
----- Original Message -----
From: "Timothy Hart" <Timothy_Hart at umit.maine.edu>
To: <use-revolution at lists.runrev.com>
Sent: Thursday, October 10, 2002 10:08 AM
Subject: Re: Saving stuff in a standalone
> use-revolution at lists.runrev.com 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 lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list