Section 6A. As used in this section and in sections 6B and 6C, the word ''veteran'' shall mean a person who has performed service as defined in clause Forty-third of section 7 of chapter 4 and whose last discharge or release from the armed forces of the United States was under other than dishonorable conditions and who is a resident of the commonwealth.