QuickScript

Enter Javascript here. Put your text results into a string variable called output.

Output

This page contains a Javascript text editor and interpreter that provides a fully-functional run-time composition and execution
environment. The magic was produced from uncounted minutes of effort and essentially one line of code (i.e., use of the eval function).


Feel free to practice your Javascript by writing code in the upper text box. By pressing the Go! button, your routine is executed
and any text that you have assigned to a string variable called output is inserted into the lower text box. Information on
processing time and cost is attached to the output. Please keep track of all run-time costs. When the total gets to be $10,000, drop me an email and we can discuss payment options.

You can use the Save button to store up to 4000 bytes of code to a cookie. The code will be stored for a year or until you hit the Save button again. Using the Load button will restore the code from the previously saved cookie. I've tested this successfully in versions of Internet Explorer, Safari and Opera. There's a slight bug in Firefox, where additional data is attached to the cookie. If using Firefox, just delete extraneous nonsense at the end of code after loading. For long-term storage you will want to copy and paste the code into a more
permanent text file.

Using some artful negotiation skills, I was able to convince Google to supply free storage space for any code generated on this site. Please do not abuse this service, as I've worked hard to ingratiate myself with Google to provide you with this special offering.

Some error checking is in place, but I haven't figured out yet how to break out of infinite loops.

This page is functional on an iPhone or iPod Touch, but the versions of Javascript on these devices do not seem to support scroll
bars in text boxes, so you'll have to keep your code and output short. Also be careful with the helpful typing correction features of
these devices; autocapitalization and automatic conversion of two spaces to a period may interfere with the execution of your code.

Here's a reference page for Javascript

Jeffrey Clymer -- April 24, 2009 -- Email -- Homepage

Visitors: