convert prnatom() to defun form.