0 Members and 3 Guests are viewing this topic.
:If -B>>0:.code :P:End
he means >> and <<. the signed comparisons.
hmm, should be in that axe commands sheet that comes with the download...
So, Scout, could you correct your code with that knowledge so we can look at it again?
:.PICTEST:[38107C1010282828→Pic1:0→A:Lbl 0:ClrDraw:ClrHome:Pt-Change(0,0,Pic1:DispGraph:Lbl 1:If A>99:0->A:ClrDraw:Pt-Change(A,0,Pic1:DispGraph:End:If -A>>0:90->A:ClrDraw:Pt-Change(A,0,Pic1:DispGraph:End:Repeat getKey→Z:End:Repeat getKey(15):If Z=3:ClrDraw:A+10->A:Pt-Change(A,0,Pic1:DispGraph:Goto 1:End:If Z=2:ClrDraw:A-10->A:Pt-Change(A,0,Pic1:DispGraph:Goto 1:End:End:Lbl 2
:If A>99
:If A>>99
{====______}
{=========_}
Code: [Select]:If A>99If A is -10, '>' sees it as... a really big positive number (without going too much in depth), which is greater than 99.Then it sets A to 0, so your second condition is never true.It should be:Code: [Select]:If A>>99Hope this helps
// IF A IS MINOR THAN O90->AClrDrwaPt-Change(A,0,Pic1DispGraphEnd
If A<<090->AClrDrawPt-Change(A,0,Pic1DispGraphEnd
:.PICTEST:[38107C1010282828→Pic1:0→A:Lbl 0:ClrDraw:ClrHome:Pt-Change(0,0,Pic1:DispGraph:Lbl 1:If A>>99:0→A:ClrDraw:Pt-Change(A,0,Pic1:DispGraph:End:If A<<0:90→A:ClrDraw:Pt-Change(A,0,Pic1:DispGraph:End:Repeat getKey→Z:End:Repeat getKey(15):Z=3:ClrDraw:A+10→A:Pt-Change(A,0,Pic1:DispGraph:Goto 1:End:If Z=2:ClrDraw:A-10→A:Pt-Change(A,0,Pic1:DispGraph:Goto 1:End:Lbl 2
You lost the If before Z=3. Which means you're also missing an End to close the loop it's in.
I seemed to have missed the answering of this question, but I'm glad everything got resolved (Congrats Runer)Good luck on the rest of this project!