No prob lah Ling, each is entitled to his/her own opinion of which cam produces better quality, and it is the discussions that result from the oppposing views that bring out constructive information.
Personally I would take the 2040z over A40, cos of the better features. But of course, it costs more too, and is an comparatively older model. Just to flip over to the other side of the coin, it does not have a noise reduction function like the A40, so for long exposures (maybe more than 4s or so), the A40 may produce better photos.
ruud, yes it has been discontinued, but some shops like AP or CP still sell it, probably clearing the stocks already.