So, I am working on a program that has selectable shortcuts, like a settings.I am using the following code:
repeat ans getkey→x end "F1:F2:F3:F4:F5:2ND:MODE:DEL: : : :ALPHA:X:STAT: :MATH: ......"→Str1 0→B For(θ,1,5int(.1x)+10fpart(.1x)-6 instring(Str1,":",B+1→B end
5int(.1x)+10fpart(.1x)-6 works for everything except the 3rd row. when pressing alpha, i end up with 11, meaning right arrow, so that pushes the whole row to the right by 1. i believe the problem is that right arrow is the only 6th element of any key press row. does anyone have a better formula?
The Silver Phantom welcomes you