in reply to Re^3: Help for a beginnerin thread Help for a beginner
Of course be careful using this idiom if "0" is a valid value (in that case an assign-the-default-first-and-overwrite implementation is better).