Quote Originally Posted by sirmate View Post
It's cleary says what you are doing wrong: Error: attempt to compare function with number.
You don't call Self.Cap function and then match, instead you try to compare it (Self.Cap function) with number and that's why you are getting such error.
Got it so i left out the parenthesis, thanks bro.