Sam Heywood wrote:
>> PS: Sam, you again mixed up Java with JavaScript :)
>
>What is the difference?  Is the following sentence a proper analogy?
>
>"Java Script is to Java as a Basic Program is to a Basic Interpreter."

Nope. This would be correct:

"JavaScript is to Java as a Basic Program is to a C Program."

They (still - I don't know how many times we've gone through this) have
this in common:
both names start with "Java" (just like "Samantha" and "Sam" aren't the
same except the three first letters).

>So when a Java-capable browser encounters Java Script it just automagically
>runs some kind of interpreter built into the browser?

No. A JavaScript capable browser will interpret JavaScript. A Java capable
browser will interpret Java.

>And what is a Java Applet?  Is it like a compiled EXE, but with the
>difference being that it runs a program from a browser program instead of
>from the command line?

It's in between code and executable. It's actually Java Applates we mean
when we talk about Java and a browser.

>Question:  Can a Java Applet be run by loading cached files into the
>browser while offline?

Yes.

>> What I don't understand is, why can't arachne ignore everything between
>> script tags ??

I think this is because Michael is working on JavaScript support for
Arachne. He can't just ignore the SCRIPT tags although they need to be
handeld better.

Reply via email to