Later you can open it up and view it in a Spreadsheet easily, or import it into a database quickly too. What I do now, most of the time, is to always send data as ASCII comma delimmitted text, then the receiving program simply has to save it out to a file. But then a more modern approach is to use XML too. Nowadays, When I send data, I always use ASCII text, but on bigger systems I now have to use things like UNICODE as well. So you suddenly have messed up data appear too. In this case you might be trying to send a string from one system to another a NULL tells the receiving program that that is the end of the string. So receiving a null when you aren't supposed to is a problem. NULL's like he mentioned above were used as placeholders on older systems to allow the sending and receiving units to synchronize without losing data.Īnother popular problem is a lot of programs treat text strings as an array with a null denoting the end of the string. So then if you send only ASCII a zero number would appear as a ASCII 30 character and a ASCII Zero would be a real NULL. If the program receives a NULL, is it a real NULL, or a Zero number, or a ZERO ASCII (ascii 30)character, and so on? The NULL tends to be a pain in the butt all the time. Thus if your trying to send a real zero numerical value you have a problem. Hyperterminal treats NULL's as reall NULL's or nothing. Well, nulls are a problem in all sorts of programs and systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |