readonly Parameter

Protects view from changes.

Scope: View

Syntax

query readonly 
set readonly { on | off | inverse } 

Options

on 
Changes are not permitted.
off 
Changes are permitted. This is the default value.
inverse 
Toggles between on and off.

Description

The readonly parameter prevents changes from being made directly to a view. An attempt to change a line sounds an alarm when the beep is enabled.

Example

To protect a view from changes, type:

set readonly on 

API Return Code

-2 
The option you specified was not on, off, or inverse. Issue the set command again using one of these options.

browse Parameter
nosave Parameter
protect Parameter