SET UICONTROLS

From Recital Documentation Wiki
Revision as of 13:09, 10 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SET UICONTROLS

Class

Input/Output


Purpose

Determine whether user interface commands are ignored


Syntax

SET UICONTROLS ON | OFF | (<expL>)


See Also

SET SCREENCAPTURE, 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 Database Server, Recital Mirage Server, Recital Terminal Developer