240. A loss from the disposition of a debt or of any other right to receive an amount shall not be allowed unless the taxpayer has acquired such debt or right to produce or gain income from a business or property other than exempt income or as consideration for the disposition of capital property to a person with whom he was dealing at arm’s length.