Hi,
The function actually works correctly.
There is a difference between these two functions.
The SCIReadCH function returns TRUE whenever a character has been received.
Whereas the SCIReadLine function reads the received string and returns its length only if '\n' character is received at the end of the string.
Otherwise the function returns zero.
Regards,
Daniel