..MENU
2→C
If GetCalc("appvBLUTCH1")
"Chap 1"→Str1
C+1→C
End
If GetCalc("appvBLUTCH2")
"Chap 2"→Str2
C+1→C
End
If GetCalc("appvBLUTCH3")
"Chap 3"→Str3
C+1→C
End
C→[theta]
Repeat getKey(15)
ClrDraw
Fix 1:Fix 5
Text(1,,"blut")
Text(8,C*10,"Quit")
Text(8,(C-1)*10,"Help")
C-1→C
If Str₃ and !Str₂ and !Str₃
Text(8,(C-1)*10,Str3)
C-1→C
End
If Str₂ and !Str₁ and !Str₃
Text(8,(C-1)*10,Str2)
C-1→C
End
If Str₁ and !Str₁ and !Str₂
Text(8,(C-1)*10,Str1)
C-1→C
End
DispGraph
End
.FULL MENU, STILL NEED KEYPRESSES ETC LOL
:.Input: Arg1 = File number to look up
:Lbl GET
:Copy("appvBLUTCH1",L1,9) .Copy the name to L1
:r1+'0'->{L1+7} .Overwrite the last character
:Return GetCalc(L1) .Find the appvar
If sub(GET,1)
.draw this option
end
if sub(GET,2)
.draw this option
end
.etc
correct?..MENU
2→C
If sub(GET,1)
C+1→C
End
If sub(GET,2)
C+1→C
End
If sub(GET,3)
C+1→C
End
C→[theta]
Repeat getKey(15)
ClrDraw
Fix 1:Fix 5
Text(1,,"blut")
Text(8,C*10,"Quit")
Text(8,(C-1)*10,"Help")
C-1→C
If sub(GET,3)
Text(8,(C-1)*10,"Chap 3")
C-1→C
End
If sub(GET,2)
Text(8,(C-1)*10,"Chap 2")
C-1→C
End
If sub(GET,1)
Text(8,(C-1)*10,"Chap 1")
C-1→C
End
DispGraph
End
.Input: Arg1 = File number to look up
Lbl GET
Copy("appvBLUTCH1",L1,9) .Copy the name to L1
r1+'0'->{L1+7} .Overwrite the last character
Return GetCalc(L1) .Find the appvar
.FULL MENU, STILL NEED KEYPRESSES ETC LOL
EDIT3: it's not in there unless r1=0. you might want to put it in there after that Wink
Code: (Sane Axe code) [Select] ..MENU | | Code: (Insane (optimized) Axe code) [Select] ..MENU |
.ROTT
GetCalc("appvROTTDATA")->A
ClrDraw
Pt-On(8,8,A)
DispGraph
Repeat getKey(15)
End
Copy(GetCalc("appvMYAPPV"),GetCalc("Pic1",768),768)
Copy(GetCalc("appvMYAPPV"),L6,768)