ISMIRAGE()

From Recital Documentation Wiki
Revision as of 12:26, 23 March 2009 by Yvonnemilne (Talk | contribs)

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

Class

Environment


Purpose

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


Syntax

ISMIRAGE()


See Also

ISSERVER()


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