I am trying to make an input-like thing on the graph screen where numbers, capital and lowercase letters could be inputted. In my code, there are mem leaks but I'd like to get the program working before I move on to mem leaks and optimizations. Here is my code, it doesn't work (specifically the ALPHA thing to change from numbers to letters) hopefully someone sees why
Code:
Here is a graph showing how W should loop through the numbers 1 to 3
Code:
" ->Str5
" ->Str3
"Aa1->Str4
1->W
Lbl A
Text(25,5,sub(Str4,W,1
Text(10,5,Str5
If W!=3:Then
Repeat Ans>34 and min(Ans!={44,45 or Ans=31
getKey
End
If Ans=31:Then
3fPart(W/3)+1->W
Goto A
End
If W=1
sub("ABC DEFGHIJKLMNOPQRSTUVWXYZ",Ans-5int(.1Ans+4),1->Str3
If W=2
sub("abc defghijklmnopqrstuvwxyz",Ans-5int(.1Ans+4),1->Str3
End
If W=3:Then
Repeat Ans>71 and min(Ans!={75,81,85,91,95,103,104 or Ans=31
getKey
End
If Ans=31:Then
3fPart(W/3)+1->W
Goto A
End
sub("789 456 123 0",Ans-36-5int(.1Ans),1->Str3
End
Str5+Str3->Str5
Goto A
Here is a graph showing how W should loop through the numbers 1 to 3