Opinion by
This is an action of assumpsit to recover a balance alleged to be due for railroad construction.
Defendant is a Virginia railroad company and plaintiff is a Pennsylvania construction corporation. In the spring of 1915 defendant awarded plaintiff contracts for the construction of two sections of railroad bed in Virginia. One of the contracts bears date of March 31st and the other April 8,1915. Each contract calls for the completion of the work on or before December 1st of that
The defendant filed an affidavit of defense, raising questions of law only, in accordance with Section 20 of the Practice Act of May 14, 1915, P. L. 483-486. This was in effect a demurrer to plaintiff’s statement, and, after hearing thereon, the court below filed an opinion and entered judgment for the defendant; from which plaintiff took this appeal. The practice accords with the statute and the conclusion of the lower court seems free from error. Being a demurrer, plaintiff’s statement must be self-sustaining and set out a good cause of action. The only claim here made is on a quantum meruit to recover for the value of the work as done, on the theory that the original contracts had been abrogated. It is not a suit for extra work, or for extra pay because of force or double-shift work, or for damages for delay caused by defendant’s default. It ignores the original contracts, while properly setting out copies thereof, and sues for the value of the work as if no price had ever been fixed. This in our opinion cannot be done. The new arrangement made no change in the work to be done or in the price to be paid. The case is quite similar
A new agreement will supersede the old so far as they cannot be executed together. See Ellmaker v. Franklin Fire Insurance Co., 6 W. & S. 439; Prouty v. Kreamer,
In the case of Malone & Son v. Philadelphia & Reading R. R.,
The parties to a written contract may modify or set it aside. The question here is, did they do so and to what extent? The statement sets out copies of letters in confirmation of the alleged verbal agreement. And while they show that plaintiff promised to speed up and double shift, they do not show an agreement on its part to complete the work at the earlier dates requested in defendant’s letters. The legal effect of writings attached to the pleadings is for the court and cannot be controlled by the averments of the parties: Leechburg Building & Loan Association v. Kinter,
The assignments of error are overruled and the judgment is affirmed.
