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/1/31 23:13, local time: 2017/11/23 10:47,
|©2017 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://techref.massmind.org/techref/inet/iis/jscript/htm/js625.htm"> = Operator</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!