Section 229 in The Code of Criminal Procedure

Title: Conviction on plea of guilty

Description: If the accused pleads guilty, the Judge shall record the plea and may, in his discretion, convict him thereon.

Title: Date for prosecution evidence

Description: If the accused refuses to plead, or does not plead, or claims to be tried or is not convicted under section 229, the Judge shall fix a date for the examination of witnesses, and may, on the application of the prosecution, issue any process for compelling the attendance of any witness or the production of any document or other thing.

Title: Evidence for prosecution

Description: (1) On the date so fixed, the Judge shall proceed to take all such evidence as may be produced in support of the prosecution. (2) The Judge may, in his discretion, permit the cross-examination of any witness to be deferred until any other witness or witnesses have been examined or recall any witness for further cross-examination.

Title: Acquittal

Description: If, after taking the evidence for the prosecution, examining the accused and hearing the prosecution and the defence on the point, the Judge considers that there is no evidence that the accused committed the offence, the Judge shall record an order of acquittal.

Title: Entering upon defence

Description: (1) Where the accused is not acquitted under section 232, he shall be called upon to enter on his defence and adduce any evidence he may have in support thereof. (2) If the accused puts in any written statement, the Judge shall file it with the record. (3) If the accused applies for the issue of any process for compelling the attendance of any witness or the production of any document or thing, the Judge shall issue such process unless he considers, for reasons to be recorded, that such application should be refused on the ground that it is made for the purpose of vexation or delay or for defeating the ends of justice.