topical media & game development

talk show tell print

professional-javascript-14-DebugExample.htm / htm

          <title>Debug Example</title>
          <script type="text/javascript">
                  function test_function() {
                      alert("Entering function.");
                      var iNumber1 = 5;
                      var iNumber2 = 10;
                      alert("Before calculation.");
                      var iResult = iNumber1 + iNumber2;
                      alert("After calculation.");
                      alert("Leaving function.");

(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.