Donald Trump said the nation's female veterans are "the forgotten people" and pledged Tuesday to develop programs that would provide them with quality healthcare and other benefits should he win the White House in November.

"The female veterans have been like the forgotten people," the Republican nominee said at a town hall at the Sandler Center in Virginia Beach, Va., where he took national security questions posed by retired Army Lt. Gen. Michael Flynn.

"I think it started because – it was obviously a while ago – there were far fewer. Now, you have tremendous numbers of female vets.

"We are going to do procedures that they've never done, and we are going to help the female veterans. They have not been helped. They've really been left behind, even more so than our male veterans.

"They've been left behind. It is just not going to happen. We are going to straighten it out."

Trump said his program would give female veterans "the right, if things are not being done right, to have the right to go to a local doctor or physician or a local hospital.

"Whether it is public or private. Whichever is most convenient — and whichever one is better, frankly. They're going to get themselves taken care of, whether it's male or female."

Trump also slammed Democrat Hillary Clinton on various national security issues, ranging from the Iran nuclear deal, to her support for increasing the number of Syrian refugees coming into the country, and to battling the Islamic State.

"If you look at the policies of Hillary Clinton and [President] Barack Obama, they have created what will be a world power," because of the nuclear deal with Tehran, Trump said. "They have become rich. They have become powerful."

"The deal is one of the worst negotiated deals of any kind that I've ever seen."