index and value variable are both null — they are for the for-each / for-in 
style
________________________________
From: Jochen Theodorou <[email protected]>
Sent: Monday, February 9, 2026 10:47 AM
To: [email protected] <[email protected]>
Subject: Re: Feedback on ForStatement

On 09. 02. 26 16: 13, Milles, Eric (TR Technology) via dev wrote: >> How does 
this all work if more than one variable is defined? > > "for (int i = 0, n = 
10; i < n; i += 1)" still falls under > getCollectionExpression() returns


On 09.02.26 16:13, Milles, Eric (TR Technology) via dev wrote:
>> How does this all work if more than one variable is defined?
>
> "for (int i = 0, n = 10; i < n; i += 1)" still falls under
> getCollectionExpression() returns a ClosureListExpression

and what is the index variable then?  This all feels a bit incomplete

bye Jochen


Reply via email to