Hillary Clinton and Donald J. Trump squared off from the same stage Wednesday evening — if not exactly face to face — in a televised forum on national security and veterans issues. The candidates appeared and took questions separately, with Matt Lauer of NBC as the moderator, in a broadcast from New York. The event came hours after Mr. Trump delivered a national security address in Philadelphia.

Here were the highlights of Mr. Trump’s segment (or check out our live analysis):

• Asked what experience has prepared him to be commander in chief, Mr. Trump began, “Well, I built a great company, I’ve been all over the world.” Pressed again, he said, “the main thing is, I have great judgment,” before arguing that he was, in fact, against the war in Iraq, citing an article from 2004, after the war began.

• Mr. Trump, confronted with past comments that he knew more about the Islamic State than generals do, said that generals under President Obama and Mrs. Clinton “have not been successful.” “I think under the leadership of Barack Obama and Hillary Clinton, the generals have been reduced to rubble,” he said.

• Mr. Trump said that because he has “a very substantial chance of winning,” he would not detail counterterrorism plans and “broadcast to the enemy exactly what my plan is.” He said that he might rely on “a combination of my plan and the generals’ plan” in formulating his approach.