Re: Progamming style

> 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 UTC