I wrote bigger programs than those in MaxScript for 3D Studio Max :-)
As for Pascal, well that was just an example, there are many others out there.....Liberty Basic, Free Basic, Scala, Clojure, Steel Bank Common Lisp, SmallTalk, Erlang…….need I go on?