*smacks forehead*
You put the type declaration in the wrong place. It has to be when you declare the function, not simply when you call the function. Note that Sybixsus wrote the same thing I did.
You put the type declaration in the wrong place. It has to be when you declare the function, not simply when you call the function. Note that Sybixsus wrote the same thing I did.