sclang: throw error if function has too many arguments.