Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

File Write and Read using Codesys

bezzaouia
2014-11-28
2014-11-28
  • bezzaouia - 2014-11-28

    I'm using CAA_FILE.lib in my projet and I'm writing different strings in a text file and I want to write each one in a seperate line. I know the command in C++ "\n" but in CoDeSys V3.5 it doesn't work. Does someone know how to do it ?

     
  • TimvH

    TimvH - 2014-11-28

    Add $R$L to the string to get a carriage return and line feed.

     
  • bezzaouia - 2014-11-28

    it works thank you so much TimvH

     

Log in to post a comment.