Ask a Question

ReadLine()

m_essaid
Valued Contributor

ReadLine()

Hello,

 

Why do this method don't take into account the first caracter ?

I have the following line in a txt file :

"testline";"100";"120";

When I try to do :

line:= file.ReadLine

and when I debug the line var, the first char is missing.

 

any help please ?

4 REPLIES 4
m_essaid
Valued Contributor

When I put something else than " it work (double-quote)

When I put a " in the first position it ommit it.

Looks like a bug with how we display the variables in the Locals pane.  If you print the variable to the log or look at the first character with GetChar(), the double quote shows properly.

... and when I add manually a double quote I have then two double-quotes !

ex :

'"' + MyLine

Yup.  I noticed that too.  I've submitted a bug report about this issue.

cancel
Showing results for 
Search instead for 
Did you mean: