hmnc Posted March 27, 2006 Report Share Posted March 27, 2006 nē! tikai tuvākās 2 uz abām pusēm ieskaitot current Link to comment Share on other sites More sharing options...
nemec Posted March 27, 2006 Report Share Posted March 27, 2006 Identācija ir atkāpju likšana.Slikts kods: if ($zz) { b(); c(); d();} if ($y) { x(1); $i++; } Labs kods (vai pats redzu, ka lasās labāk?): if ($zz) { b(); c(); d(); } if ($y) { x(1); $i++; } veel labaaks [code]if ($zz) { b(); c(); d(); } if ($y) { x(1); $i++; Link to comment Share on other sites More sharing options...
bubu Posted March 27, 2006 Report Share Posted March 27, 2006 nemec: tas atkarīgs no paša patikšanas. Citiem nepatīk izstiepti kodi. Link to comment Share on other sites More sharing options...
Recommended Posts