Italian Cr Lf

Discussion in 'Italian Forum' started by micro, Jun 28, 2008.

  1. micro

    micro Well-Known Member Licensed User

    Salve ragazzi,
    come mai quando salvo dei dati di una textbox con FileWrite mi aggiunge un Cr e Lf alla fine?

  2. klaus

    klaus Expert Licensed User

    This is a normal behaviour of FileWrite, Cr Lf indicates the end of the written line.
    When you have
    save it with FileWrite(c1,Var),
    and you read it back with Var=FileRead(c1), Cr Lf will NOT be added to the variable Var.

    Best regards.
  3. micro

    micro Well-Known Member Licensed User

    certainly, but only with FileRead because with FileReadToEnd also if you use a variable the Cr and Lf is added.

    Best Regards
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice