if (page == 1) // if the current page is the temp page
{
clearcenter(); // clear the area where the old data is
retemp(); // print the new data
}
else if (page == 2)
{
reamps();
clearcenter();
}
else if (page == 3)
{
clearcenter();
rephys();
}
else if (page == 4)
{
clearcenter();
repref();
}
I like consistency. This is not.