in reply to database unclarity when finding 'unitinitaliazed' everywhere

Nesting is the inclusion of blocks within other blocks, which usually means indenting everything consistently. So say the second if (inside the first if) is indented 4 spaces, then the statements within the second if are indented 8 spaces total. Make sense? : ) Here is an example:
if (this) { if (that) { do this } and this }
That second if is nested inside the first if. The indenting just makes things easier to read.

Replies are listed 'Best First'.
Re: Re: database unclarity when finding 'unitinitaliazed' everywhere
by sulfericacid (Deacon) on Mar 17, 2003 at 07:32 UTC
    I find this difficult to believe because I've tried in numerous scripts to do something like what you said and I got an error. Maybe the environment was different and it was all due to other problems but for the sake of arguement is doing a naked block wrong if that's a preferred choice of the programmer?

    Thanks for your help!

    "Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"

    sulfericacid
      No problem, glad to help. Anyway, a naked block is fine to do (and needed in some cases), but in your code above (in the original post), it looks like you have too many brackets.