Error getting tags :
error 404Error getting tags :
error 404 scriptLimits | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
scriptLimits
Basics
Expander triangle
Type
Function
Syntax
the scriptLimits scriptLimits()
Introduced
1.0
Changed
2.5
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Returns the limits on script length for scripts that are edited in a Revolution.
Examples

Additional Comments
Expander triangle

Use the scriptLimits function to determine the limits on changing scripts when using standalone applications created with Revolution.

Value:

The scriptLimits function returns a comma-separated list of four positive integers. Where 0 occurs in the list it indicates that the limit is unchecked and therefore unlimited.

Comments:

The four numbers returned by the scriptLimits function are:

* the number of statements permitted when changing a script (normally 10 in a standalone application)

* the number of statements permitted in a do command (normally 10 in a standalone application)

* the number of stacks permitted in the stacksInUse (normally 50 in a standalone application)

* the number of objects permitted in the frontScripts and backScripts (normally 10 in a standalone application)

Important! The first number does not limit scripts that are already written. In other words, standalone applications can run scripts of any length. However, if the standalone attempts to change an object'sscriptproperty, and the script contains more than the allowable number of statements, the attempt to set the script causes an error.

User Comments
Expander triangle