Part of the scripting.com web server. San Francisco CA USA. 1/20/97.

Multiplication Table

I wanted to play with a big thing that builds on the JavaScript interpreter in the browser. I wrote a macro to generate the following table:

---
12345
1
2
3
4
5
6
7
8
9
10

Notes: As I wrote this script, I got my first JS syntax error. That's gotta be the funkiest dialog I've ever seen!

Suggestion to the Netscape people -- instead of putting the error message in a new window, put it inside square braces in the displayed HTML text. Clearly label it as a JavaScript error. Allow developers to install a protocol handler that catches these errors so we can write them to a log file or whatever.

I couldn't figure out how to call the built-in random routine or any of the math routines. It's OK, I can't think of too many web pages that need to display the value of an arcssine! Yeah. I guess every language has to have these verbs.


This page was last built with Frontier on a Macintosh on Mon, Jan 20, 1997 at 1:01:50 PM. Thanks for checking it out! Dave