This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA2: EVE/KernelC:- using IF condition in VCOP

Part Number: TDA2


Hello,

I want to use if condition inside for loop. As of now, i know that if condition should be use with LCV of the for loop.

I am using the same,

#define I3EQUALS2           ((I3==2))

    for(int I3=0;I3<3;I3++)

    {

        if(I3EQUALS2)

        {

                //code to be execute 

         }

    }

But I'm getting below error on console,

error #26001-D: syntax error - expected IDENTIFIER

error #26001-D: syntax error near ')'

error #26001-D: syntax error near '='

,m...something like this.

Please suggest solution for this!!