How write that correctly

ZZ= IIf( C<1 , for( i= 10 ; i< 180 ; i+10 ) , 0) ;

I'm sorry, but the code you provided is not correct. The IIf function is used for conditional assignments and returns an array, but you cannot use a for loop inside it. Also, the code doesn't specify what should be assigned to the ZZ variable if C is greater than or equal to 1.

Unfortunately your question isn't clear enough and does not provide all necessary details to give you an answer. Please follow this advice: How to ask a good question

You did not explain what you want to do INSIDE the loop (in your code the loop is empty - doing nothing).

Explain the GOAL. Don't focus on code.

1 Like

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.