ASP Best Practices

Next Topic

Blocked Comments in JScript

Multiline comments in JScript begin with /* and end with */.  Large, multistatement comment blocks should be formatted as in the example below.


function showIt()

  ** This is a large comment block.         
  ** This procedure is called when the user 
  ** selects a language.                    
  ** It displays an appropriate select item 
  ** based on their language choice.        
  ** The method choices are each contained  
  ** in a separate div.                    

  var vntCurrLang = document.all