Difference between revisions of "ISMIRAGE()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Used to determine whether an application is being run via the Recital Mirage Server
 
Used to determine whether an application is being run via the Recital Mirage Server
Line 27: Line 25:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Environment]]
 
[[Category:Environment]]
 
[[Category:Environment Functions]]
 
[[Category:Environment Functions]]

Latest revision as of 16:45, 2 December 2009

Purpose

Used to determine whether an application is being run via the Recital Mirage Server


Syntax

ISMIRAGE()


See Also

GETENV(), GETLOCALHOST(), GETREMOTEADDR(), GETREMOTEHOST(), GETREMOTEUSER(), ISSERVER(), SET UICONTROLS


Description

The ISMIRAGE() function returns .T. (TRUE) if the current application code is being run via the Recital Mirage Server. If the application is being run on any other client, ISMIRAGE() will return .F. (FALSE). This allows developers to customize code for the particular environment yet share the same code across all environments.


Example

if ismirage()
    set dialog on
    set message on
endif


Products

Recital Server, Recital