Ricie,
Sorry that I've only got time to give a quick response:
<http://www.macromedia.com/go/3192>
It's a tech note with FileIO code examples. Give it a look and see if it helps.
Otherwise I'm sure someone will step in and help out (or I'll be back later if not!).
Cheers,
Tom
> -----Original Message-----
> From: Richie Jindal [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 07, 2001 9:09 AM
> To: [EMAIL PROTECTED]
> Subject: <lingo-l> writing to an external file
>
>
> Hi All,
>
> I tried my first hand at writing some text from a
> field called "Name" to an external file today..
> While I managed the reverse means I can write from the
> file to the text field...i just cannot manage the
> reverse..
> I tried both the writeFile and writeString methods
> (since these are the only ones that i know of ) but
> none of them works don know y. The bigger problem is
> that I have found just no documentation on the help or
> the manual about these two commands or how to write to
> a file, to see where i cud be going wrong. I tried the
> following code:
>
> on mouseUp
> set myFile = new(xtra "FileIo")
> set descFile = "C:/Data.txt"
> openFile (myFile,descFile,1)
> txt= member("Name").text
>
> --myFile.writeFile()=txt
> --writeString(myFile, txt)
>
> closeFile(myFile)
> end
>
>
> can somebody tell me what is the right command to use
> for this particular requirement???? that is to write
> some text to an external file....or better to append
> some text to the end of a text file..
> Any help wud be greatly appreciated
> Regards
>
> Richie
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with
> Yahoo! Messenger
> http://im.yahoo.com
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]