WRONG!
He never said it was ASCII. You get two demerits for that!
InStr makes it a one liner and is not ASCII dependent.
Instr doesn't help at all.
perhaps you should actually run the code and see what it does.
he's creating a sum of the alphabetic sequence characters. a is 1, b is 2, etc. and they are added up for every character, and the result printed.
Instr does not even come close to doing any of that.
Additionally, InStr doesn't work with non-ANSI characters, anyway. otherwise:
instr("AAAAĆAAA","AE")
would return 5; but it returns zero. AE and the Ć character are typographically equivalent for any unicode aware comparison, so evidently Instr is not Unicode aware, and since VBScript only runs on windows it's safe to assume that it uses the only other available character set, which is ANSI. the first 127 characters of ANSI are the same as those in ASCII.
Sure, Visual Basic/VBScript store All their strings in unicode internally, but Asc("A") will always give you 65. in fact, AscW("A") still gives you 65.