0 Members and 9 Guests are viewing this topic.
Lbl O< (r2+6) and (r1+6 > r3 and (r3+6 > r1 and (r4+6 > r2Return
Lbl W-> {r2 + 4 / 8 * 60 + (r1 + V + 4 / 8) + L3 + J }Return
Lbl O-r₂+5<11 and (r₁-r₃+5<11)Return
Lbl W→{r₂+4/8*60+(r₁+V+4/8)+J+L₃}Return
Lbl OReturn!If -r₂sub(O0)r₃-r₁Lbl O0+5<11Return
Lbl W→{r₂sub(W0)*60+(r₁+Vsub(W0))+J+L₃}Lbl W0*64+256/512Return
Lbl W→{r₂sub(W0)*10*6+(r₁+Vsub(W0))+J+L₃}ReturnLbl W0/2/2+1/2Return
Axe does automatically round off numbers by dividings. That causes a difference between X + 4 / 8 and X / 2 / 2 + 1 / 2. * 64 + 256 / 512 seems fine though, thanks.
.TClrHomeFor(F,0,500)If (Fsub(A)) - (Fsub(B))Output(0,,F>DecEndEndsub(A)+4 / 8Returnsub(B)/2/2+1/2Return
If inData(A,Data([num here],[another num],[etc],0))
Under what conditions does...Code: [Select]If inData(A,Data([num here],[another num],[etc],0))...return as true?I made a little test program and it works fine, but when I put it into the source for Shift--taking out If D=2 or (D=3) and replacing it with If inData(D,(2,3,0))--it seems to always output true
inData(D,Data(2,3,0))