ALL,
   
  I have a telnet connection to a server computer that constant broadcast data 
to me each second. The data that I receive has spaces and tabs in the middle of 
the string. Once I receive the data I remove all spaces and tabs to get a 
single stream of data. After I receive the stream I attempt to parse the data 
into segments using the copy function.
   
  My problem is this when I look at the stream the data looks fine but when I 
use the copy funtion it does not work properly on the data.
   
  Here is an example :
   
  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.
   
  r/Curtis..
   
   
   

 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]

Reply via email to