Curtis cloud wrote:
>   Single stream from a telnet connection
>    
>    0.0000.1370.000
>    
>   Data := ' 0.0000.1370.000'
>    
>   Copy (Data, 1, 3)  yield value 0.0 which is fine.
>   Copy (Data, 6, 8)  yields value 0.0000.0 which is wrong.
>   Copy (Data, 11, 13)  yields value 0.0000.0000.0 which is wrong.
>    
>   I'm not sure why I am not receiving the correct data.

Given those four lines of code, _none_ of the results are correct. The 
first call should return ' 0.', not '0.0' since there's still a space as 
the first character of Data.

If you remove the space, then the returned strings should be '0.0', 
'0.1370', and '0.000', respectively.

Please copy and paste real compilable code that demonstrates how Copy 
doesn't work properly.

-- 
Rob

Reply via email to