In the absence of a statute on the subject, a motion to quash an indictment or information may be made orally or in writing; but the better practice is to reduce it to writing. And this motion should be made before pleading to the indictment or information. But the court will permit the accused to withdraw his plea for the purpose of interposing the motion; but this is discretionary with the court.76 The court may, upon quashing an indictment or information, detain the defendant for further proceedings against him. This may be by requiring him to give bail for his appearance at the same or a future term of the court.