Functions for controlling whether any scalar variable is read-only
