Monday 21, May 2012
Welcome Guest, Register | Login  
      Home    |    Tutorials    |    Free Ebooks    |    Free Scripts    |    Articles    |    Blog     |    About Us    |    Contact Us

ASP Comments

Comments are used to make your code more readable and documented? In ASP an apostrophe (single quote) is used to comment a line of code.

Here is the example

<%

'Variable declaration
DIM username, age, country

'Getting values from HTML form
username = Request.Form("username")
userage = Request.Form("userage")
usercountry = Request.Form("usercountry")

'Writing values of the html form
Response.Write("User Name = " & username & "<br>")
Response.Write("User Age = " & userage & "<br>")
Response.Write("User Country = " & usercountry & "<br>")

%>

Comments do NOT get interpreted so you can put whatever you want into them. However, comments are important to keep track of what you are doing in the code.

 
     
   
ASP Tutorial
 
  ASP Introduction
ASP Introduction
  ASP Syntax
ASP Syntax
  ASP JavaScript
ASP JavaScript
  ASP Variables
ASP Variables
  ASP Arrays
ASP Arrays
  ASP If Statement
ASP If Statement
  ASP Procedures
ASP Procedures
  ASP Functions
ASP Functions
  ASP Sessions
ASP Sessions
  ASP Cookies
ASP Cookies
  ASP Application Object
ASP Application Object
  ASP Forms
ASP Forms
  ASP Comments
ASP Comments
  ASP Email
ASP Email
  ASP ADO
ASP ADO
  ASP File
ASP File
 
 
 
Web Designing Tutorials
  HTML Tutorial
HTML Tutorial
  DHTML Tutorial
DHTML  Tutorial
  CSS Tutorial
CSS Tutorial
  XHTML Tutorial
XHTML Tutorial
 
Programming Languages Tutorials
  C Language Tutorial
C Language Tutorial
  C++ Tutorial
C++ Tutorial
  Java Language Tutorial
Java Language Tutorial
  Data Structure Theory Tutorial
Data Structure Theory Tutorial
 
Server Side Scripting Tutorials
  PHP Tutorial
PHP Tutorial
  SQL Tutorial
SQL Tutorial
  ASP Tutorial
ASP Tutorial
 
Client Side Scripting Tutorials
  JavaScript Tutorial
JavaScript Tutorial
  VBScript Tutorial
VBScript Tutorial
 
 
 
POPULAR E-BOOKS
 
Download Data Structures and Algorithms with Object-Oriented Design Patterns in C#  Ebook Data Structures and Algorithms with Object-Oriented Design Patterns in C#
   
Download Learn to Program Using Python  Ebook Learn to Program Using Python
   
Download Forex Trading For Beginner Ebook Forex Trading For Beginner
   
Download Super Affiliate Strategies Ebook Super Affiliate Strategies
   
Download BMA s Home Based Business Articles Ebook BMA s Home Based Business Articles
   
 
Studiesinn.com © 2012 All Rights Reserved.
Website Designed & Developed by TechXprtz