01-17-2014, 11:59 PM
You need to first define the function, and only then use it.
Since you're probably trying to make a closure, too, post a more complete code snippet.
Since you're probably trying to make a closure, too, post a more complete code snippet.