He received a good common-school education, entering the University of Glasgow, Scotland in 1782 and graduated in 1786.
He received a solid general education, enrolling at the University of Glasgow, Scotland in 1782 and graduating in 1786.