Please enable JavaScript to view this site.

ESL Documentation

Object Inquiry Built-in Function

Return whether a table is readonly.

(TABLE_NAME is readonly)

TABLE_NAME

The identifier for a table.

Description

This built-in function returns true if the table is readonly. You must enclose the entire statement in parentheses.

Example

 

response to item ReadOnly from Menu

 copy (Table is readonly) to Flag

 action GetFlag

 if (InputOK) then

         copy "make Table readonly " Flag to MsgStr

         action SendMsg

         if (Flag) then

                 make Table readonly

         else

                 make Table editable

         end if

 end if # InputOK