Hello World 3.c 359 B

12345678910111213141516171819
  1. #define USE_TI89
  2. #define USE_TI92PLUS
  3. #define USE_V200
  4. #include <graph.h>
  5. #include <kbd.h>
  6. void _main(void)
  7. {
  8. LCD_BUFFER buffer;
  9. static WIN_RECT rect = {0, 0, 100, 14};
  10. LCD_save (buffer);
  11. ClrScr ();
  12. FontSetSys (F_8x10);
  13. DrawStr (3, 3, "Hello world!", A_NORMAL);
  14. DrawClipRect (&rect, ScrRect, A_NORMAL);
  15. ngetchx ();
  16. LCD_restore (buffer);
  17. }