Effect of failure to appear (Sec. 5, Rule 18)

Section 5 of Rule 18 of the Revised Rules of Court, provides:
Section 5. Effect of failure to appear. — The failure of the plaintiff to appear when so required pursuant to the next preceding section shall be cause for dismissal of the action. The dismissal shall be with prejudice, unless other-wise ordered by the court. A similar failure on the part of the defendant shall be cause to allow the plaintiff to present his evidence ex parte and the court to render judgment on the basis thereof. (2a, R20)