Compiling JavaScript

JavaScript is compiled by choosing File - Save, or clicking the green check mark, but it is not stored in its compiled form. All JavaScript is recompiled each time it is run.

Errors detected when the script is saved are displayed in the status bar at the end of the Script area. Only one error is displayed at a time. Once an error is detected, you must correct the errors before you can exit the design element. If you want to save a script with errors, make the incorrect line a remark by preceding it with two forward slashes. For example:

// This is a remark.


this is statement one.
this is statement two.