Spreadsheet
Viktoras Didziulis
viktoras at ekoinf.net
Sun May 13 10:16:24 EDT 2007
Hi Bill,
check the Rev documentation (2.8.0) dictionary on scriptLimits and script
property:
..when using a standalone application, an object's script property may not
be set to a string containing more than ten statements. This limit is set by
line 1 of the scriptLimits function. (This does not limit scripts that are
already written: standalone applications can run scripts of any length.
However, if the standalone attempts to change an object's script property,
and the script contains more than the allowable number of statements, the
attempt to set the script causes an error.)...
It is likely to prevent somebody using Revolution studio to create a
competing RAD environment. Unfortunately this also prevents from
implementing any kind of scripting, or complex formula translations which
would not compete with the RAD in any way. Therefore in order to implement
end-user scripting for own products (like allowing user to create decision
trees with formulas in nodes) some of us have to resort to other languages
via shell or SQL92/95 as alternatives. I guess the most efficient way is to
use SQL because of its tight integration with Revolution through its
database modules.
Best!
Viktoras
-------Original Message-------
From: Bill
Date: 13/05/2007 16:07:45
To: How to use Revolution
Subject: Re: Spreadsheet
I never heard of this script limit other then in early demos. Can you
explain?
Also I like the idea of your use of the SQLite functions in your project.
On 5/13/07 6:57 AM, "Viktoras Didziulis" <viktoras at ekoinf.net> wrote:
> Anyway I see this as the only way to implement any scripting and formula
> translation in Revolution, otherwise your end users are likely to smash
into
> the infamous scriptlimit which is 10 lines of Revcode.
| | |
)_) )_) )_)
)___))___))___)\
)____)____)_____)\\
_____|____|____|____\\\__
-------\ /--------- http://www.bluewatermaritime.com
^^^^^ ^^^^^^^^^^^^^^^^^^^^^
^^^^ ^^^^ ^^^ ^^
^^^^ ^^^
24 hour cell: (787) 378-6190
fax: (815) 331-0838
Blue Water Maritime
P.O. Box 2087
Rio Grande, PR 00745
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list