please dont rip this site
Microsoft® JScript
JScript Keywords
| Tutorial |


JScript has a number of reserved keywords. These words come in three types: JScript reserved keywords, those from Java, and words to avoid.

JScript Keywords
breakfornewtruewith
continuefunctionnulltypeof
elseifreturnvar
falseinthiswhile

 

Java Reserved Keywords
abstractdefaultimplementsstaticvoid
booleandoimportsuper
bytedoubleinstanceofswitch
caseextendsintsynchronized
catchfinalinterfacethrow
charfinallylongthrows
classfloatnativetransient
constgotopackagetry

 

The words to avoid are any that are already objects or static functions. Words like String or parseInt are included in this.

Using any of the keywords from the first two categories causes a compilation error when your script is first loaded. Using a reserved word from the third set can cause odd behavior problems if you attempt to use both your variable and the original entity of the same name in the same script. For example, the following script does not do quite what you think it should:


var String;
var text = new String("This is a string object");

In this case, you get an error saying that String is not an object. Many cases of using a pre-existing identifier aren't this obvious.


© 1996 by Microsoft Corporation.
file: /Techref/language/asp/js/309.htm, 2KB, , updated: 1996/11/22 10:12, local time: 2024/11/28 08:07,
TOP NEW HELP FIND: 
3.12.146.100:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://ecomorder.com/techref/language/asp/js/309.htm"> Microsoft&#174; JScript </A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .