"name" is not a Logo procedure.

The name you have used is not a Logo procedure. If the name you have used is a variable, you must use proper syntax to indicate that to Logo.