To entitle a defendant to a setoff he must set the same forth in his answer.
[Code 1881 § 502; 1877 p 108 § 506; RRS § 271.]