I've got the impression that syntax coloring and auto indent for JS code
are still very rudimentary (no coloring of important key words like
"function", "for",..., no auto indenting for opened and closed curly
brackets etc - maybe someone could confirm this?). Guess this might be
an obstacle for switching to JS (or a reason to check out using an
external editor).

valentin


----- Original Message -----
From: "Colin Holgate" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 12, 2004 11:10 PM
Subject: RE: <lingo-l> Merits of JS in Director


> >I've been meaning to run some tests "when I get time." For now, I
choose
> >to believe that there is no significant speed difference.
>
>
> It isn't significant, but it is easy to show:
>
> on timeit
>    t = "one two three"
>    m = the milliseconds
>    repeat with a = 1 to 100000
>      c = char 2 of word 2 of t
>    end repeat
>    m1 = the milliseconds - m
>    m = the milliseconds
>    repeat with a = 1 to 100000
>      c = t.word[2].char[2]
>    end repeat
>    m2 = the milliseconds - m
>    put m1 && m2
> end
>
> timeit
> -- "824 1028"
>
> [To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]).
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to