save formatted text in a file

martin meili bmmeili at swissonline.ch
Thu Jul 21 05:50:08 EDT 2011


Hi
How can I avoid loosing the formatting of a text, if I save this text to a file?

I usually save text in a file as follows:

open file the_path_Var for write
write TextVar to file the_path_Var  ---TextVar contains the formatted text of a textfield; in the clipboard it can be seen as formatted text
close file the_path_Var

Thanks for any replies!

Cheers
Martin


More information about the use-livecode mailing list