—(1) Where a court by or before which a person is convicted of an offence (not being an offence the sentence for which is fixed by law) is of the opinion, having regard to the circumstances including the nature of the offence and the character of the offender, that it is inexpedient to inflict punishment and that a probation order is not appropriate, the court may make an order discharging him absolutely, or if the court thinks fit, discharging him subject to the condition that he commits no offence during such period, not exceeding 12 months from the date of the order, as may be specified therein:
Provided that where a person is convicted of an offence for which a specified minimum sentence or mandatory minimum sentence of imprisonment or fine or caning is prescribed by law, the court may make an order discharging a person absolutely or an order for conditional discharge if the person —
has attained the age of 16 years but has not attained the age of 21 years at the time of his conviction; and
(2) An order discharging a person subject to such a condition is referred to in this Act as “an order for conditional discharge”, and the period specified in any such order as “the period of conditional discharge”.
(3) Before making an order for conditional discharge the court shall explain to the offender in ordinary language that if he commits another offence during the period of conditional discharge he will be liable to be sentenced for the original offence.
(4) Where, under the following provisions of this Act, a person conditionally discharged under this section is sentenced for the offence in respect of which the order for conditional discharge was made, that order shall cease to have effect.