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