Hi All,
I have problem writing for-loop in simplified C block. Below is my code:
{
static double total=0;
static double square=0;
for(int N=0,N<=1000;N++)
{
square=x1*x1;
total=total+square;
}
}
when I press check code, the software pop out a lot of error message as shown in attachment file. Does anyone can help me point out what mistake I did?I am using PSIM 9.0