Enabling and disabling actions

During an interactive instruction, you can enable or disable an action with the setActionActive() method of the ui.Dialog built-in class. This method takes the name of the action (in lowercase letters) and a boolean expression (0 or FALSE, 1 or TRUE) as arguments.
  BEFORE INPUT
    CALL DIALOG.setActionActive( "zoom", FALSE )

Note that predefined actions can be automatically enabled and disabled by the runtime system, according to the context. For example, the delete action of an INPUT ARRAY will be disabled if there are no rows in the array.