Unless otherwise provided in this Act, the provisions of the Code of Criminal Procedure, 1898 (v of 1898), shall apply to proceedings under this Act. ...