[ET Trac] #2758: conditional read/write statements