21139 | S.C. | Feb 4, 1980

Per Curiam:

' In this action the plaintiffs-respondents seek a declaratory judgment for the purpose of settling disputes alleged to exist or potentially exist between the plaintiffs and the defendants. *263William Morgan and Ocean Ventures, two of the defendants, filed separate demurrers, alleging that there was not a jus-ticiable controversy between all of the parties. Both demur-riers were overruled by the circuit judge. Morgan and Ocean Ventures have appealed.

“In determining whether a cause of action is stated, we are required to construe the complaint liberally in favor of the pleader. Turner v. ABC Jalousie Co. of N. C., 251 S. C. 92, 160 S.E.2d 528" court="S.C." date_filed="1968-04-01" href="https://app.midpage.ai/document/turner-v-abc-jalousie-co-of-nc-1333889?utm_source=webapp" opinion_id="1333889">160 S. E. (2d) 528 (1968). In passing upon a demurrer, the Court is limited to consideration of the pleading under attack, and all of the factual allegations thereof that are properly pleaded are deemed admitted. Crowley v. Bob Jones University, 268 S. C. 492, 234 S.E.2d 879" court="S.C." date_filed="1977-05-10" href="https://app.midpage.ai/document/crowley-v-bob-jones-university-1260065?utm_source=webapp" opinion_id="1260065">234 S. E. (2d) 879 (1977).” Layne v. International Brotherhood of Electrical Workers, 271 S. C. 346, 247 S.E.2d 346" court="S.C." date_filed="1978-08-31" href="https://app.midpage.ai/document/layne-v-international-brotherhood-of-electrical-workers-1334588?utm_source=webapp" opinion_id="1334588">247 S. E. (2d) 346 (1978).

It is apparent from a review of the record, which in-eluded argument of counsel before the circuit judge, that in considering the demurrers many matters submitted to the court should have been ignored. A demurrer attacks the four corners of the instrument under assault. Exhibits and pleadings from other actions between the parties were improperly included in the record. When these are eliminated, the issue becomes simple. A complaint for declaratory judgment is good against demurrer for insufficiency of facts if its allegations show the existence of a justiciable controversy. Guimarin & Doan v. Georgetown Textile & Mfg. Co., 249 S. C. 561, 155 S.E.2d 618" court="S.C." date_filed="1967-06-09" href="https://app.midpage.ai/document/guimarin--doan-inc-v-georgetown-textile--manufacturing-co-1384137?utm_source=webapp" opinion_id="1384137">155 S. E. (2d) 618 (1967). It is apparent that the trial judge’s order should be sustained since the face of the complaint shows such a controversy.

While much of the record submitted to the lower court, and printed in the transcript on this appeal, might have been proper for consideration under a motion for a summary judgment, they cannot be considered on a demurrer. We do not, however, intimate that the demurring parties would have been entitled to prevail under a motion for summary judgment.

*264The demurrer, though still permitted and sometimes appropriate as a means of attacking the pleadings of an adversary, is an antiquated vehicle which should be sparingly used. Normally, any ground of demurrer can be asserted by way of motion for a summary judgment, and that approach is more apt to fairly and succinctly present the issues to the court.

We are of the unanimous view that when the complaint is considered independent of the exhibits and the surplusage, no error of law appears and a full written opinion would have no precedential value. The appeal is dismissed under our Rule 23.