Microsoft® JScript , Operator |
| Language Reference | |
Causes two expressions to be executed sequentially.
expression1 , expression2The , operator syntax has these parts:
Part Description expression1 Any expression. expression2 Any expression.
The , operator causes the expressions on either side of it to be executed in left-to-right order, and obtain the value of the expression on the right. The most common use for the , operator is in the increment expression of a for loop. For example:
for (i = 0; i < 10; i++, j++) { k = i + j; }The for statement only allows a single expression to be executed at the end of every pass through a loop. The , operator is used to allow multiple expressions to be treated as a single expression, thus getting around the restriction.
file: /Techref/language/asp/js/151.htm, 2KB, , updated: 1996/11/22 11:11, local time: 2024/8/31 16:41,
3.144.3.63: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? <A HREF="http://piclist.com/techref/language/asp/js/151.htm"> Microsoft® JScript Language Reference </A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.