Is it possible to define two variables in a vb2005 For loop in a similar way that jscript does it?
the javascript example is
for(i=0,l=0;i<20;i++){}
No there is no equivalent syntax in VB.Net. The for loop declaration can only contain a single variable.
For Loop Syntax: http://msdn.microsoft.com/en-us/library/5z06z1kb.aspx
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.