Graeme Geldenhuys wrote:
On 23/10/2009, Jeff Wormsley <dawor...@comcast.net> wrote:
  
 That's dangerous, though, if your magic number's two bytes aren't printable
    

That should never be a problem for my tool though. The tool I am
writing is specific to the INF help format. The tool dumps the file
structure to a text file. (I need this for debugging purposes)
Oh, I was fairly certain of that.  Its just these little routines tend to end up in libraries of handy code.  I tend to be overly cautious with some of these because of that.

Jeff.

--
I haven't smoked for 3 years, 2 months and 6 days, saving $5,235.76 and not smoking 34,905.07 cigarettes.


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to