Thanks for all the comments!<br>It seems that the best way is still just to teach students self discipline. And hope that they (for now) believe some things (eg. dangers of global variables) without seeing.<br><br>Aivar<br>