smartguy240 | When you are putting flags in, how do you strategically put them into the Logic. Because I have a flag ,104, that I want to have achanged view under, and a changed text under, and an erased view under. So it is like this in a nutshell Said...print...print...get i9...erase o2...change view 36 to loop 1... THEN... I want it to stay erased o2, new text,changed view loop. But I am not really that experianced with flags enough to know what to do about this. Do you put if(said("...")) { print("..."); print("..."); if(isset(f104)) { print("..."); } else { print("...") set.loop(o1,1); erase(o2); set(f104); } if(f104); set.loop(o1,1); erase(o2); } would this in a nutshell be correct, or did I mess up by setting f104 or by putting in isset 104? ??? I really have no idea ??? Thanks to who can help me! SMG240 |
Joey |
Alright. I think you have it right except for one thing. First of all, i bvelieve you can do isset, but it is faster to type in by doing if(f104){ Then at the end you are using f104 again. I think you can only use a flag for one thing. It should be like this: if(said("...")) { print("..."); print("..."); if(f104){ print("..."); } else { print("...") set.loop(o1,1); erase(o2); set(f104); } if(f104){ set.loop(o1,1); erase(o2); } or: if(said("...")) { print("..."); print("..."); if(f104){ print("..."); } else { print("...") set.loop(o1,1); erase(o2); set(f104); set(f105); } if(f105){ set.loop(o1,1); erase(o2); } Try both of these. If they 1 doesnt work, try the other. But in the first one you did if(f104); i changed that to if(f104){ thats what you need. If none of these codes work reply again for help. |