/* demo_c
    Demo program for Small-C */

#include <stdio_h>

main() {

   int fd, x[3], y[3], rad[3], i;

   *x = float(50);
   *y = float(50);
   *rad = float(30);

   cls(fd);
   border(fd,5,1);
   ink(fd,4);
   fill(fd,1);
   circle(fd, x, y, rad);
   fill(fd,0);
   ink(fd,2);
   beep(10000,100);
   scroll(fd,-50);
}

_console(fd) int fd; {

   fd = fopen("scr_512x256a0x0","w");
   if (fd == NULL) {
      printf("abort");
      abort(1);
   }

   return(fd);
}

