On 02/13/12 21:21, Dimitry Sibiryakov wrote: > 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)? > To be precise:
(offset > 0 && offset < MAX_MAGIC_NUMBER) offset == 0 already has special meaning ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! 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-d2d Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
