Effect of the substituent position on the electrochemical, optical and structural properties of donor-acceptor type acridone derivatives.