Where does “endif” come from?

endif (English) comes from English End, from Middle English ende, from Old English ende, from Proto-Germanic andi, from Proto-Indo-European h₂énti, from Proto-Indo-European h₂énts, from Proto-Indo-European h₂ent-, from Proto-Indo-European h₂en- — on, onto.

endif (English): A directive, in several programming languages,...

Definitions

  1. A directive, in several programming languages,...

Ancestry of “endif”, step by step

endif traces back through two separate lines of ancestry.

via English End

StepLanguageWordMeaning
1EnglishEndA key that when pressed causes the cursor to go...
2Middle EnglishendeThe end or finishing of a thing; the terminal...
3Old Englishendeend, limit, border, corner
4Proto-Germanicandiin addition, furthermore, and
5Proto-Indo-Europeanh₂éntiopposite; near; in front
6Proto-Indo-Europeanh₂éntsforehead; front
7Proto-Indo-Europeanh₂ent-face; forehead; front
8Proto-Indo-Europeanh₂en-on, onto

via English IF

StepLanguageWordMeaning
1EnglishIFInitialism of interactive fiction; Initialism of...
2Middle Englishifif, on condition that
3Old Englishġifif
4Proto-Germanicjabaiwhen, if
5Proto-Indo-Europeanē-then, at that time
Every word from Proto-Indo-European h₂en-Every word from Proto-Indo-European h₂ent-Every word from Proto-Indo-European h₂énts