SET UICONTROLS

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Determine whether user interface commands are ignored


Syntax

SET UICONTROLS ON | OFF | (<expL>)


See Also

ISMIRAGE(), ISSERVER(), SET()


Description

This command determines whether commands applicable only in user interface based Recital products (Recital Terminal Developer and Recital Mirage client) are ignored. It applies to commands such as @...GET and @...SAY. Stored Procedures (server side programs '.prg') run by the Recital Database Server will run, by default, with SET UICONTROLS OFF. This means that commands that relate to the user interface do not cause errors, but are simply ignored. By default SET UICONTROLS is ON in Recital Terminal Developer and Recital Mirage Server.


Example

// Running under Recital Database Server
// @...SAY will be ignored
// Recital Mirage Client or Recital Terminal Developer
// Users will see the text
use demo
@1,1 say "Reindexing tables…."
reindex all


Products

Recital Server, Recital