.WINDOWXP
ClrDraw
ClrHome
32->Y
48->X
[E0C0A00000000000]->Pic1
Repeat getkey(15)
Pt-On(X,Y,Pic1
Line(0,0,95,0 \\Lines for a border
Line(0,63,95,63 \\
Line(0,0,63,0 \\
Line(95,0,95,63 \\
If getkey(1)
If Y(doesn't equal)61
Y+1->Y
End
End
If getkey(2)
If X(doesn't equal)1
X-1->X
End
End
If getkey(3)
If X(doesn't equal)93
X+1->X
End
End
If getkey(4)
If Y(doesn't equal)1
Y-1->Y
End
End
ClrDrawDispGraph
End
But the problem is, I don't know how to make it so the program knows if you have the cursor in the area of the START menu (for example) and if you clicked on it. To tell you the truth, I think that is the main thing that I need help with besides optimization.ClrDraw
ClrHome
ya don't need both if in the end, you're only going to use DispGraph every millisecond, ya can remove ClrHomeLine(0,0,95,0 \\Lines for a border
Line(0,63,95,63 \\
Line(0,0,63,0 \\
Line(95,0,95,63 \\
try the rect command, makes it easier to write (and the recti command)Y+1->Y
...
X-1->X
they can be Y++ and X--.WINDOWXP
Fix 5
32->Y
48->X
ClrHome
[E0C0A00000000000]->Pic1
0->A
Repeat getKey(15)
Lbl 1
ClrDraw
If A=1
Text(2,56,"START
End
Pt-On(X,Y,Pic1
If getKey(1)
Y+1->Y
End
If getKey(2)
X-1->X
End
If getKey(3)
0+1->X
End
If getKey(4)
Y-1->Y
End
If getKey(54)
Goto 2
End
DispGraph
End
Lbl 2
If Y>54 and X<25
1->A
End
Goto 1
.WINDOWXP
Fix 5
32->Y
48->X
ClrHome
[E0C0A00000000000]->Pic1
0->A
Repeat getKey(15)
ClrDraw
Pt-On(X,Y,Pic1
If getKey(1)
Y+1->Y
End
If getKey(2)
X-1->X
End
If getKey(3)
X+1->X
End
If getKey(4)
Y-1->Y
End
If Y>54?X<25?getKey(54)
Text(2,56,"START
End
DispGraph
End
Here's a big optimization of your code that you might want to do yourself or not, but anyway, it's not too hard to figure out after you experiment a lot. (but I'll leave it up to you if ya wanna use it)Grrrr I was about to post the same thing myself. That's why I was asking irc about max()^r. :P :P to bad you :ninja: 'd me. XDCode: [Select]min(max(getKey(3)-getKey(2)+X+1,1),96)-1->X
min(max(getKey(1)-getKey(4)+Y+1,1),64)-1->Y
Hmm, where is the recti command?[2nd][matrix(x^-1)]->math tab-> option 'B'.
Okay. Thank you for your help! :DHow about the V200 for68k?
Hey, I'm going to set aside this Windows XP project for a minute so I can ask this. I'm thinking about learning 68K basic and maybe a little more on Lua but what calculator do you guys think that I should get next?
1) TI-Nspire CX
2) TI-92 Plus
3) TI-84 Plus CE
But as a side note are you sure it won't be better to remove those -1s and change max() to max()^r? I think that will be smaller. ;) (but i am not sure)Now this I never heard of. In the commands list, never saw the command for max()^^r, care to explain?
Ask runer about it ;) He said that the command was added, but never to the documentations. It does work.But as a side note are you sure it won't be better to remove those -1s and change max() to max()^r? I think that will be smaller. ;) (but i am not sure)Now this I never heard of. In the commands list, never saw the command for max()^^r, care to explain?
Well, I guess I'm going to purchase the TI-84 Plus CE because my friends mom is probably going to give her TI-Napire CX CAS to me because she can't figure out how to work it according to my friend.