Hi All,

I am downloading data from a logger through a serial port device. The data 
string from the serial port has junk for the date field as a result of which an 
error is coming. How can I put it in a Try block. The over all code is like:

Scan
    
    Try
        ldate =  something
        ldate = something date time
****error over here


catch
    Messagebox()
    LOOP 

endtry
Endscan

Is this how it is done. I am getting my msgbox but I still get a vfp error 
message. How to avaoid that.

TIA


Ajoy Khaund
Neamati Road
Near Bhogdoi Bridge
Jorhat 785001-21
Assam, India

Tel: 91-376-2351288
Cell: 91-94350-92287
Mail: [email protected]
Mail: [email protected]

"Walking on water and developing software from a specification are easy if
both are frozen."
- Edward  V. Berard, "Life-Cycle Approaches"

--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/f5d903c3e2b04e1ebb1ab68e96b9c...@compaq
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to