Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Const declaration

Status
Not open for further replies.

pbanacos

IS-IT--Management
Apr 21, 2006
34
US
Hello,

Need help getting this const assignment working in jscript. Am I using the right variable declaration or should var work for this

Const cstrShowMyIP = "
 
Have to be careful about the support of version 1.5, which may not be wide-spread, in order to use const declaration. To be on the conservative side, it is used to use var instead and make it global in scope. In the script, just make sure it won't be changed by some script lines.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top