Too many arguments (ERR=89) A function call or a SUB or FUNCTION statement passed more arguments than were expected. Reduce the number of arguments. A SUB or FUNCTION statement can pass a maximum of approximately 32 arguments: a function call can pass a maximum of eight arguments. This error cannot be trapped with a BASIC error handler.