-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCREADER.TIProgram
105 lines (103 loc) · 1.57 KB
/
CREADER.TIProgram
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>cells</key>
<array>
<dict>
<key>column</key>
<integer>1</integer>
<key>row</key>
<integer>1</integer>
<key>stringValue</key>
<string>"VARS:
"T-UNIVERSAL CHAR
"C-CHAR LOCAL TO BLOCK
"B-CURRENT BLOCK
"L-TEST BLOCK
"F-FIRST TIME RUNNING LOOP?
AxesOff
DelVar Str2ClrDrawFnOff ClrHomeDisp " CReader!
Disp ">1. Read"," 2. QuitDelVar A1→SRepeat AOutput(S+1,1,">getKey→G
If G
Output(S+1,1," If max(Ans={92,93G-91→AS-(G=25 and S>1)+(G=34 and S<2→SIf G=105S→AEndIf A=2:StopClrHomeDisp "What page are","you on?Input ">",PClrHomeDisp "How many blocks","did you get?
Input ">",IFor(N,1,I)
prgmθCRARCPREnd184P-183→T
DelVar B1→F
While G≠45
DelVar G
If F=0:Then
Repeat G
getKey→G
End
End
If G=26
T+184→T
If G=24 and T>184
T-184→T
If G=21:Then
ClrHome
Disp "You are on page:",int((T+183)/184
Pause
EndIf G=31:Then
Disp "Skip to page:
Input ">",P
184P-183→T
End
ClrHome
1→L
1-⌊LEN+cumSum(⌊LEN
While T≥Ans(L
L+1→L
1-⌊LEN+cumSum(⌊LEN
End
L-1→L
If L≠B or F:Then
Disp "Fetching...
B→N
prgmθCRARCPR
L→B:B→N
prgmθCRUNARC
prgmθCRPROGL
End
cumSum(⌊LEN
T+⌊LEN(B)-Ans(B→C
prgmθCRDISP
0→F
End</string>
</dict>
</array>
<key>device name</key>
<string>CREADER</string>
<key>device type</key>
<string>TI-83 Plus</string>
<key>isProtected</key>
<false/>
<key>object type</key>
<string>Program</string>
</dict>
</plist>