A judgment or ruling shall not be reversed by an appellate court because of any error, defect, irregularity, or variance which does not affect substantial rights of the accused.
Amended by Acts 1979, No. 86, §1.