Delete lines in files (text files)

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Jan 17 18:01:07 EST 2008


Well...
All limits are arbitrary and this does not apply to Rev only :-)
See scriptLimits function in the dictionary:

* 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)

But AFAIK a 'if then end if' (three lines) is counted as one line  
only for instance.

Le 17 janv. 08 à 23:47, Randall Lee Reetz a écrit :

> But isnt 10 a bit draconian?
>
> -----Original Message-----
> From: "Eric Chatonet" <eric.chatonet at sosmartsoftware.com>
> To: "How to use Revolution" <use-revolution at lists.runrev.com>
> Sent: 1/17/2008 2:27 PM
> Subject: Re: Delete lines in files (text files)
>
> Hi Randall,
>
> If you were allowed to set any script to any value (i.e. thousands of
> lines of code), you could build a standalone, the stacks of which
> would be able to clone all Rev features.
> This limitation has been introduced to prevent this.
> Just a security measure :-)
>
> Le 17 janv. 08 à 23:18, Randall Lee Reetz a écrit :
>
>> I dont get it... Please explain.
>>
>> -----Original Message-----
>> From: "Eric Chatonet" <eric.chatonet at sosmartsoftware.com>
>> To: "How to use Revolution" <use-revolution at lists.runrev.com>
>> Sent: 1/17/2008 12:35 PM
>> Subject: Re: Delete lines in files (text files)
>>
>> Hi Randall,
>>
>> Le 17 janv. 08 à 21:00, Randall Lee Reetz a écrit :
>>
>>> But i didn't know about this ten line limit?  That seems strange.
>>> Why is that limit there?  And, yes i want to know how to fake it.
>>
>> This limit is just to prevent malicious guys to fake Rev itself :-)
>>
>> Best regards from Paris,
>> Eric Chatonet.
>
> Best regards from Paris,
> Eric Chatonet.


Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list