[ Previous ] [ Contents ] [ Index ] [ Next ]

Updating and Testing Tcl Scripts

After testing your script, you may want to make changes to it. If you are using the method where you are just entering Tcl commands in a .tcl file in the pages directory, you can just edit your file. If you are using the forms interface, you can either move backwards in your browser to the "Update Tcl Script" page (which will still contain your script), or you can choose Tools Administer Server... (to go to the /NS/Admin page) and follow the View/Edit Script Files link again. On the Tcl Script Maintenance page, follow the newly-created link to your script.

Before modifying your script, you should perform a Reload to make sure you have the most current version of the script, because you or someone else may have made edits to the script since the last time the page was cached. If you do make edits to an older version of the script, you will receive an error when you press the Update Script button, and your edits will not take effect.

To test your revised script, access the .tcl file in the pages directory as an URL, or open the URL associated with the script (such as the /example/hello URL in the above example) again in your browser and perform a Reload to see the new results.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.