15 November 2004 - java_dev (original) (raw)
| | 04:27 pm - lordfwknight - Ugh I just spent 30 minutes debugging something that drove me crazy. I did something of this natureif(blah);{do some blah;}I accidentally put a ; after the if statement. But this is not considered a syntax error. I then realized you can pretty much put {} around anything you want to. What purpose does that serve exactly? |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
08:38 pm - |
---|