creating text files

yves COPPE yvescoppe at skynet.be
Sun Apr 14 13:14:01 EDT 2002


Hi,

you have yout text in a variable : Mytext
the name of your textfile is another variable : myFileName

so you ask where you want to save your text

ask file "Where do you want to save your text" with myFileName
if it is empty then exit to top
put it into filepath
open file filepath
write Mytext to file filepath
close file fielpath


Hope this help.
-- 
Greetings.

Yves COPPE

Email : yvescoppe at skynet.be



More information about the use-livecode mailing list