FUNCTION WRITE

I’M USING THE F.WRITE FUNCTION TO WRITE ON A FILE, BUT IT SEEMS THAT WRITE EVERYTHING ON THE SAME LINE… IS THERE A WAY TO WRITE IN OTHER LINES?? THANKS IN ADVANCE

yes, there is, but i think we have answered so many simple questions of you before that you really should read at least some of the online help and the manuals… sorry to say this, but i am just a bit annoyed at the moment… ps. try f.textmode(true) (see online help for f.write). pps.: online help is accessible from code editor with F1…

no problem, i allready read the onlipe help ( if you thoght i don´t) sorry for asking

First, define a variable (e.g. lf) as char. Than assign lf := 10 (= the ascii-value). In the code, where you want to place it, write: FORMAT(lf,0,’’)

As Beaver mentioned: You have to state “f.textmode(true)” before you start the write. Use Michaels solution if you use f.textmode(false); but you have to define and use CR (ascii 13) as well.

thank you all