The
protect function modifies the
protected property of the field
symbol. If
symbol is a block, group, form, or dictionary, the function will try to apply the protected property to all fields belonging to that symbol. The numeric expression
protect_property turns the protected property off (if zero) or on (if nonzero).
The function returns the number of items whose protected property was successfully changed.