Sunday, May 26, 2013

matlab "Too many input arguments" OOP

http://stackoverflow.com/questions/715624/why-do-i-get-a-too-many-input-arguments-error-when-not-passing-any

I believe you can also get around this by declaring roll_dice to be a static method.

Why Static Method works?

No comments:

Post a Comment