Help about Compiler error 2016


I have code below:

int i_n=0;
i_n = lstFrmBlkTm1[j].iNumb; // the iNumb is an integer in a structure.
if (i_n > 0 ){ ... }

the compiler complain the i_n in 3rd line : left operand must be l-value.


Thanks.
Show how lstFrmBlkTm1 is declared.

Please copy and paste the exact error message. Are you sure it happens on the if statement? I find that hard to believe.
Topic archived. No new replies allowed.