I am trying to design an algorithm that goes to the previous page with the help of a global variable. However, when I tried to define a variable (let’s say an
int i) I get the following error:
Error:Global variable definitions must precede all code in the program.c:int i;( Double click to jump to code)
I do not understand what’s the error here. Is it about the place of the variable? Then where should I define it. I am using Basic NX4832T035_011. I would love to have any comments.