Hmmm, if I type out T-H-E-N, then I too get a syntax error (inverse-S cursor) just before THEN
But if I use the keyboard THEN key (shift-3) it accepts line 20 -- and subsequently runs correctly
I reckon the slash is used as an apostrophe, i.e. Y'NAGIOTH. Yes, the advertisement has "Y'Nagioth"