1, Snd Apportion- £ of schoo It is unnecessary to consider the point pressed by the appellant, that the school district could not appeal from the order of the county court directing the distribution of the school fund received from the State. As the district, though detached from Arkansas county,* was included in the enumeration upon which the superintendent apportioned the fund to that county, it was entitled to share therein in the proportion which its children of school age bore to the children included in the enumeration. This was an absolute right, not dependent upon the discretion of any officer or tribunal. It was the duty of the appellant, as county judge, on receiving notice of the amount apportioned to the county, to proceed to apportion the same to the several districts upon whose enumeration the superintendent made his apportionment. The duty was absolute— involved only a matter of mathematical calculation—and in its performance the county judge had no discretion; but he proceeded to discharge it, and by his apportionment excluded the detached district from all participation in the fund, thus denying a right for which, as we have seen, he was bound to afford a remedy. This entitled the district to seek relief by mandamus in the circuit court.
2. Mandamus to compel apportionment. It is argued that the superintendent was authorized to rectify the wrong in his subsequent apportionment, and this is true. Mansi'. Dig., sec. 6180. But the county judge should have averted the wrong to the district, and awarded it the sum due it before the superintendent could make another apportionment. There is no reason why a district should be kept out of its funds for any time on account of a change of county lines, and it is in the power, and is the duty, of the county judge to prevent it. If he fails to do his duty, its performance should be coerced, because serious embarrassment might result to the wronged district before the superintendent could furnish the proper relief.
3. Construetion of pleading. The petition filed in the circuit court contained all the essentjaj allegations of a petition for mandamus, and brought in the proper parties. It was indorsed as “an application for appeal;” but the appellant treated it as the statement of a cause of action, for he demurred to it on the ground that it did not state facts sufficient to constitute a cause of action. If he had considered it a prayer for appeal, he would have interposed no demurrer, for his learned counsel well knew that a prayer for appeal need not set out facts sufficient to constitute a cause of action. It not only appears that it was so treated, but also that such was its real nature. Its character was to be ascertained from its allegations and not from its name, and by this test it was a petition for mandamus. The proof sustained the allegations, and the judgment awarded the relief to which the district was entitled. It would conserve no rule of practice or principle of justice to reverse the judgment and turn the district out of court, only to compel it to rename and refile its petition and upon the same proof obtain a similar judgment.
Affirm.
See Acts 1889, p. 22.