(1) If, in the case mentioned in section 236, the accused is charged with one offence, and it appears in evidence that he committed a different offence for which .he might have been charged under the provisions of that section, he may be convicted of the offence which he is shown to have committed although he was not charged with it. Illustr...