I've never seen any language that used ENDFOR.
vbSCRIPT and BASIC would use NEXT.
But, yes, the FOR would be VBScript. And VBScript would ignore case, so then GetElementsByName would work, as well.
But for the rest of it...
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.