Re: A89: Please help with C
[Prev][Next][Index][Thread]
Re: A89: Please help with C
try this:
At 07:16 PM on Monday, 4/3/00 -0600, you wrote:
>//my code
>#include <doors.h>
>#include <graph.h>
>#include <kbd.h>
>
>int _ti89,_ti92plus; // compile for both calcs
>int font;
>int kbkey;
>void _main(void)
>{
> LCD_BUFFER buffer;
> LCD_save(buffer);
> font = 2;
> FontSetSys(F_6x8);
> ClrScr();
> DrawStr(3,3,"Move Me",A_NORMAL);
> kbkey = ngetchx();
> if(kbkey == 43)
> { if(font == 2)
> { font += 1;
> FontSetSys(F_8x10);
> }
> if(font == 3)
> {
> }
> if(font == 1)
> { font += 1;
> FontSetSys(F_6x8);
> }
> }
> if(kbkey == 45)
> { if(font == 2)
> { font -= 1;
> FontSetSys(F_4x6);
> }
> if(font == 1)
> {
> }
> if(font == 3)
> { font -= 1;
> FontSetSys(F_6x8);
> }
> }
> if(kbkey != 264)
> { main2();
> }
> }
> LCD_restore(buffer);
>}
>
>
>__________________________________________________
>Do You Yahoo!??
>Talk to your friends online with Yahoo! Messenger..
>http://im.yahoo.com
----
Rob Smith
<a href="http://pa.ticalc.org">Visit Programmers Anonymous Today</a>
<a href="http://www.tigalaxy.com">Come and see the Improved TIGALAXY
Website</a>
<a href="mailto:kormoc@netzero.net">Email-Me</a>
<a href="aim:addbuddy?screenname=Billvortex">Add Me To Your Buddy List</a>
----
GET HIGH SPEED ACCESS FOR FREE
SIGN UP 10 PEOPLE AND GET A FREE MODEM
http://i.winfire.com/s/isapiEng.dll/wf.exe?cmd=rl&673,100032596&wf.exe
----
Stupidity got us into this mess - why can't it get us out?
_____________________________________________
NetZero - Defenders of the Free World
Click here for FREE Internet Access and Email
http://www.netzero.net/download/index.html
Follow-Ups:
References: