![]() |
Nesting - Printable Version +- Mirage Source (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: Nesting (/showthread.php?tid=826) |
- Dark Echo - 14-03-2007 Great tutorial dude.. I would just like to add to this very good tutorial is that adding spaces between certain lines of code helps distinguish between certain sections.. Adding spaces is just something i do, i dont know anyone else who does it.. But it does help dramatically.. For example.. Sorry Verrigan im using one of your examples here.. Declaring Variables In a Procedure Code: Private Sub cmdSelectChar_Click() I think nesting is considered good programming practice.. I cant remember the exact words my teacher used.. But yeah.. Something like that.. :wink: Again, great tutorial mate.. - ShadowLife - 14-03-2007 I can honestly say I hate trying to fix someone elses code when they don't nest. Or if their nesting is just a single space... Very nice, I hope most people will carryout nesting in any type of programming or scripting. [Also, I leave blank lines between Dims, SelectCase blocks, IfElseThen Blocks, after Sub and before End Sub] - Matt - 14-03-2007 Maybe if you email Google about that, they'll fix it. They're pretty user orientated on things like that, so they may listen. GTalk owns all. |