Hi everybody

i hv questions to ask. Please take a look at the following code.

While moRS232.Read(1) = -1
End While

If i want to know what the Read method is reading, i can write the output to the console. Is it "console.writeline.......something " ? can anyone advice ?

besides, does anyone know how this code is used and why "- 1" is used in this case ?

Hereby, i would like to thank u all first....thank u very much