He was educated at Edinburgh high school .
He was was called to the Scottish bar on 27 May 1815 , along with his friend John Wilson .
He was educated at Edinburgh high school , and was called to the Scottish bar on 27 May 1815 , along with his friend John Wilson .