#define ZCPR3 #include main() { Boolean clear,erase,bright,low,ti,di; zsysinit(); /* initialize zcpr3 system */ ti = tinit(); di = dinit(); clear = cls(); erase = ereol(); bright = stndout(); low = stndend(); puts("The results are:\n"); puts("Terminal initialize : "); yno(ti); puts("Terminal deinitialize : "); yno(di); puts("Clear screen : "); yno(clear); puts("Erase to end of line : "); yno(erase); puts("Stand out mode : "); yno(bright); puts("Normal video mode : "); yno(low); } yno(e) Boolean e; { if(e) puts("True\n"); else puts("False\n"); }