Difference between revisions of "SET UICONTROLS"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET UICONTROLS=
 
 
 
 
==Class==
 
==Class==
 
Input/Output
 
Input/Output
Line 15: Line 12:
  
 
==See Also==
 
==See Also==
[[SET SCREENCAPTURE]], [[SET()]]
+
[[ISMIRAGE()]], [[ISSERVER()]], [[SET()]]
  
  
Line 23: Line 20:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
// Running under Recital Database Server
 
// Running under Recital Database Server
// @…SAY will be ignored
+
// @...SAY will be ignored
 
// Recital Mirage Client or Recital Terminal Developer
 
// Recital Mirage Client or Recital Terminal Developer
 
// Users will see the text
 
// Users will see the text
 
use demo
 
use demo
 
@1,1 say "Reindexing tables…."
 
@1,1 say "Reindexing tables…."
reindex all</pre>
+
reindex all
 +
</code>
  
  

Revision as of 13:41, 20 April 2009

Class

Input/Output


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