Language Reference |
Assigns a value to a variable.
result = expression
The = operator syntax has these parts:
Part Description result Any variable. expression Any numeric expression.
As the = operator behaves like other operators, expressions using it have a value in addition to assigning that value into variable. This means that you can chain assignment operators as follows:j, k, and l equal zero after the example statement is executed.j = k = l = 0;
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js625.htm, 2KB, , updated: 2008/2/1 00:13, local time: 2018/5/20 12:33,
|©2018 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?|
<A HREF="http://www.sxlist.com/techref/inet/iis/jscript/htm/js625.htm"> = Operator</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!