The uniformity of operating parameters in organic nonvolatile memory devices is very important to avoid false programming and error readout problems. In the present work, we fabricated an organic resistive-switching memory based on protonic-acid-doped polyazomethine (PA-TsOH), which demonstrates an excellent operative uniformity and multilevel storage capability. The deliberate tuning of the resistance states can be attributed to the electric-field-controlled molecular doping of the imine-containing polymers.