How can I correct errors in calling this function?

Printable View