Error getting tags :
error 404Error getting tags :
error 404 revLicenseType | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
revLicenseType
Basics
Expander triangle
Type
Function
Syntax
revLicenseType()
Introduced
2.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the type of license under which the currently running copy of the Revolution development environment is running.
Examples

if revLicenseType() is "standalone" then explainLimits
if "Enterprise" is not in revLicenseType() then useODBC

Additional Comments
Expander triangle

Use the revLicenseType function to determine what version of the Revolution development environment is running. Different license types have different capabilities that may affect a stack's operation.

Value:

The revLicenseType function returns the same string as seen in the lower left corner of the splash screen when Revolution starts up.

Comments:

If the development environment is not running, the revLicenseType function returns "standalone".

Note: When included in a standalone application, the Common library is implemented as a hidden group and made available when the group receives its first openBackground message. During the first part of the application's startup process, before this message is sent, the revLicenseTypefunction is not yet available. This may affect attempts to use this function in startup, preOpenStack, openStack, or preOpenCardhandlers in the main stack. Once the application has finished starting up, the library is available and the revLicenseTypefunction can be used in any handler.

User Comments
Expander triangle