0 Members and 1 Guest are viewing this topic.

If checkTmr(TThenC+checkTmr(T)sum(L1L3->CstartTmr->TEnd

Repeat K=45 and sum(L₁

If not(sum(L1(D)+1=L1ThenOutput(int(L1(D)),100fPart(L1(D))," 1+L1(D->L1(DAns+.01randInt(~1,1If fPart(Ans) and fPart(Ans)<.17 and not(sum(Ans=L1Ans->L1(DOutput(int(L1(D)),100fPart(L1(D)),"*ElseIf D=SD+1->SEnd

While A>0 If remainder(A,2 Goto 1 / | / | /---------- | Lbl 1 | Disp 1 Disp 0 int(.5A→A .5A→A End End

While A>0 If remainder(A,2 Goto 1 Disp 0 .5A→A End Lbl 2 <<do stuff now that the loop is over>> Lbl 1 Disp 1 int(.5A→A End Goto 2 ;in case A becomes 0 because of this branch, it doesn't loop back, so we have to manually jump there.

:ClrHome:Disp "MAIN PROGRAM:For(S,-1,0:If S:Goto S:End:Disp "MAIN AGAIN:For(S,-1,0:If S:Goto S:End:Disp "BACK IN MAIN:Return:Lbl S:Disp "SUBROUTINE:End

Does Ans qualify as a "command", per se? Yeah, it's extremely useful for optimizations, but I'm pretty sure it's categorized as a variable.Again, I'm anti-Goto, and that was just a copy paste from Xeda on TIBasicDev forums a while back.