Best Practice for Library Stacks

Roger Eller roger.e.eller at sealedair.com
Thu Feb 13 12:17:15 EST 2014


Wasn't the ten lines of 'do' commands a very old demo version thing?...
Designed to keep testers from do-ing too much without buying the product?
And wasn't it removed long ago?

Questions, questions, questions...
~Roger
 On Feb 13, 2014 12:11 PM, "Richard Gaskin" <ambassador at fourthworld.com>
wrote:

> Earthednet-wp wrote:
>
> > Richard,
> > My question was probably too elementary, but what I was really asking
> > is:
> > Do all of the handlers in a single button script count as a single
> > script, or is a single handler in the button script counted as a
> > script, for purposes of scriptLimits.
>
> There was no limit to the number of lines in a given frontScript,
> backScript, or library in terms of execution.
>
> But when setting an object's script, the total number of executable lines
> had the same limit as for "do": ten executable lines, in any handler,
> comments and line wraps excluded.
>
>
> > If only 10 front scripts were allowed, the method wouldn't be very
> > useful for library purposes.
>
> It was only 10 lines of *new* code, either through "do" or setting an
> object's script.   Both of those are fairly specialized cases, which is why
> we've not heard much of an uproar about scriptLimits in the 15+ year they
> were in place.
>
> Any amount of code written in a licensed development environment prior to
> building the standalone has always been allowed.
>
> And as Mark Wieder noted: "Last time I looked in the code, the script
> limits were commented out"
>
> ...so it looks like this is all just ancient history anyway.
>
> (Thanks for that, Mark)
>
> --
>  Richard Gaskin
>  Fourth World
>  LiveCode training and consulting: http://www.fourthworld.com
>  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>  Follow me on Twitter:  http://twitter.com/FourthWorldSys
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list