Hello,
I’m coming back to Tads after a bit of a break. I’ve got the old thread below to recall the meat of the lessons I was getting, but I’m caught up on a simple snag. For some reason data is not being checked in the if statement. I’ve set breakpoints and checked the data. Gender on me is getting set to ‘M’ but the loop goes infinitely.
Thanks for any help
genderAccept = nil;
while(!genderAccept)
{
if(me.gender != 'M' || me.gender != 'F')
{
"\b Enter gender: M/F \n";
me.gender = inputLine();
}else{
genderAccept = true;
}
}