Changes the state of @sw to the desired one.
%TRUE if @sw should be active, and %FALSE otherwise
3.0
See Implementation
Changes the state of @sw to the desired one.