13.02.2012 16:08, Dmitry Yemanov wrote:
> Interesting idea. But how should the conditions like (offset<  0) look
> now? Something like (offset<  sizeof(lhb)) doesn't look elegant. Maybe
> explicitly compare with all the magic numbers?

   How about (offset < MAX_MAGIC_NUMBER)?

-- 
   SY, SD.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to