Learn English – Word or phrase describing on/off state

expression-choiceexpressionsphrase-requestssingle-word-requestsword-usage

English is not my primary language so I have hard time with this problem. I am currently writing comments to computer code. There is setting that enable/disable some functionality. What would be correct comment to this? Is there noun form of word enable? The comment would be something like:

Sets ??? of functionality.

I am thinking about:

Sets working state of functionality.

Sets turning on/off of functionality.

Sets availability of functionality.

But it just seems wrong. Is there some better words that could describe this?

Best Answer

You could write

enables or disables the functionality

or

activates or deactivates the functionality

or, less comprehensibly

toggles the operation of the functionality

Related Topic