professional-javascript-14-DebugExample6.htm / htm
<html> <head> <title>Debug Example</title> <script type="text/javascript"> function test_function() { opera.postError("Entering function."); var iNumber1 = 5; var iNumber2 = 10; opera.postError ("Before calculation."); var iResult = iNumber1 + iNumber2; opera.postError ("After calculation."); opera.postError ("Leaving function."); } test_function(); </script> </head> <body> <p>This example works in Opera only.</p> </body> </html>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.