How do I programmatically set preferences?

Q How do I programmatically set preferences?
A (Preferences dictionaryOfPreferences at: #showDeprecationWarnings) preferenceValue: true.
Last changed by admin on 21 April 2009