Section 510A(1) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(1)The evidence of any person whose evidence is of a formal character may be given by affidavit and may, subject to all just exceptions, be read in evidence in any inquiry, trial or other proceeding under this Code.