A theoretical study on the mechanism of the base-promoted decomposition of N-chloro,N-methylethanolamine.