A mode specifier is a single-word value used to specify a screen mode. It is handled as follows:
Unless otherwise noted, all APIs for dealing with screen modes accept all of the above forms.
Note that some APIs have additional rules, e.g. a mode specifier of -1 may be used to refer to the current screen mode. Remember that these are extensions to the specification and are not understood by all APIs.
Also remember that it is nonsensical to pass in a sprite mode word to some APIs; for example attempting to set the screen mode using a RISC OS 3.5 sprite mode word will fail, as the mode word does not contain any width or height information.