In reply to Re^13: How can I avoid code repetition here by JavaFan in thread How can I avoid code repetition here by rovf