W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1999

Re: Progamming style

From: Raffaele Sena <raff@nuvomedia.com>
Date: Wed, 20 Oct 1999 14:25:52 -0700
Message-ID: <005201bf1b41$bf37e9c0$52c0a8c0@nuvomedia.com>
To: "Karl-Otto Linn" <linn@informatik.fh-wiesbaden.de>, <www-lib@w3.org>

> Hi,
> inspecting the libwww code one can find many time lines like:
> #if 0
> < any code >
> #endif
>
> Is any able to tell me the significance of this coding. Or do I have
> made a mistake in the preparation of the downloaded code? Or is it some
> type commenting things out?
>
    It just means that the code is currently commented out.
    Maybe because it's some debugging code that you want to be able to quickly
enable,
    or because it's old code that you don't want to get rid of just yet.

    If you want to know why a particular code is currently disable you may try
to go through
    the log messages or compare different versions of the file until you find
the one that
    has that code uncommented or doesn't have the code at all.

-- Raffaele
Received on Wednesday, 20 October 1999 17:25:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:35 GMT