It will be difficult to make plain the precise questions presented by this appeal without reproducing the complaint. The plaintiff, who is appellant, alleges: “(1) That on or about the 22d day of October, 1889, the defendants made and entered into a certain obligation to and with the plaintiff in the words and figures following, viz.: “Whereas, the undersigned W. B. Wait did on the 29 bh day of September, 1888, enter into a contract with O.F. Flowers, among other things, to pay the said Flowers the sum of seven hundred (700) dollars, for a certain warehouse at Marion Junction, Turner county, Dakota, and the said Flowers has assigned his interest theiein to H. W. Ross, Esq., of Sioux Falls, Dakota; and whereas, the said Ross claims there is a balance still due upon the purchase price of said warehouse, and claims to be entitled to the possession thereof until said balance shall be paid; Now, therefore, we, the undersigned, W. B. Wait as principal, andB. C. Jacobs and J. F. Ferguson, as sureties, do hereby undertake and promise that the said Wait shall pay or cause to be paid to the said Ross any and all sums that may be found to be due or owing to the said Flowers upon the contract aforesaid, and any sum that the said Wait may be adjudged to pay by reason thereof to the said H. W. Ross, not exceeding the sum of seven hundred dol lars, (70D,) the purchase price of said warehouse. In witness .whereof we have hereto set our hands, this 22d day of October, A. D. 1889. W. B. Wait, B. C. Jacobs, J. F. Ferguson.’ (2)
We are of the opinion that the complaint does not state a cause of action against the defendants in the written obligation set out in Paragraph 1, for the reason that no default is alleged or shown. By that obligation the defendants undertook, not unconditionally to pay for the warehouse, but to pay whatever should be found due Flowers “upon the contract aforesaid;” that is, upon the contract already referred to in that writing, a contract theretofore existing between Flowers and Wait; and such sum was not to exceed “the sum of seven hundred dollars, the purchase price of said warehouse.” It is not shown that anything was due upon that contract. It is not alleged that defendants were in default in making any payment which they had undertaken to make, and, consequently, no cause of action is stated against them on such written obligation.
We think that Paragraphs 2 and 4 do state a cause of action against defendant Wait. They allege that he agreed to pay Flowers $700 for the warehouse, on or before the 1st day of February, 1889; that he did not do so; and that the claim was properly assigned to the plaintiff. This would constitute a cause of action against defendant Wait in favor of plaintiff. If upon the trial these facts were proved, the plaintiff in this action would be entitled to a judgment against the defendant Wait. Comp. Laws, § 4901, Subd. 3. Perhaps the complaint was demurrable on the ground of an improper union of several causes of action, to-wit, an action on the wTrit1en obligation against all the defendants, and an action against Wait on his promise to pay, but the objection was waived by not demurring on that ground. It appearing to us that the complaint does state a cause of action against defendant Wait, we hold that it was error to refuse to receive evidence under it, and for that reason the judgment appealed from must be reversed.
