Importing and exporting JavaScript
You can copy text from any file into the current JavaScript object. Click in the script area where you want to insert the text, then use the File - Import menu command to choose a file. Files with a JS extension are displayed by default. To see other file types, enter *.* in the File name box. Select the file and click Import.
You can also copy JavaScript to a file by using the File - Export menu command. Select an existing file or type a new file name with the JS extension and click Export.
Note: Import and Export for JavaScript is new with Release 6.