2 This is an example program for GEOS.
3 It reads GEOS serial number and prints it on the screen.
5 Maciej 'YTM/Elysium' Witkowiak <ytm@elysium.pl>
14 const graphicStr Table = {
15 NEWPATTERN(0), MOVEPENTO(0, 0), RECTANGLETO(320, 199), GSTR_END };
23 (char)0, (char)14, (int)0, (int)28, (char)(HORIZONTAL|1),
24 CBOLDON "quit", (char)MENU_ACTION, &Exit };
28 dispBufferOn = ST_WR_FORE;
30 GraphicsString(&Table);
31 cputsxy(0, 3, CBOLDON "Your Serial Number is:");
32 cputhex16(GetSerialNumber());
37 // will never reach this point...