M micro Well-Known Member Licensed User Longtime User Jun 28, 2008 #1 Salve ragazzi, come mai quando salvo dei dati di una textbox con FileWrite mi aggiunge un Cr e Lf alla fine? Bye
Salve ragazzi, come mai quando salvo dei dati di una textbox con FileWrite mi aggiunge un Cr e Lf alla fine? Bye
klaus Expert Licensed User Longtime User Jun 28, 2008 #2 This is a normal behaviour of FileWrite, Cr Lf indicates the end of the written line. When you have Var=TextBox1.Text 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.
This is a normal behaviour of FileWrite, Cr Lf indicates the end of the written line. When you have Var=TextBox1.Text 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.
M micro Well-Known Member Licensed User Longtime User Jun 29, 2008 #3 certainly, but only with FileRead because with FileReadToEnd also if you use a variable the Cr and Lf is added. Thanks Best Regards
certainly, but only with FileRead because with FileReadToEnd also if you use a variable the Cr and Lf is added. Thanks Best Regards