Bad argument to external function

In a Declare statement, you declared an external function using an invalid argument.

Replace the invalid argument with a valid one.