Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











STATEMENT:  Const

Implemented in version 1.0
 
Const
 
The Const statement allows you to declare your own constants.
 
Once you declare a constant, you cannot change the value of that constant. If you try to change the value, you will get an error message (illegal assignment).
 
Code:
<% Const myconstant = 71.348 %>
Our current interest rate is <% =myconstant %> % per year.

 
Output:
Our current interest rate is 71.348 % per year.
 
You can declare several constants at the same time.
 
Code:
<% Const stringconstant = "Please send money!",  someconstant = .277,  tigre = "Jaguar" %>


 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information