home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 1 / FishNMoreVol1.bin / more / code_examples / librar / rite.c < prev    next >
Text File  |  1989-02-08  |  420b  |  20 lines

  1. /*--------------------------------------*/
  2. /*                    */
  3. /*               RITE(X,X)        */
  4. /*                    */
  5. /* Displays a character array on the    */
  6. /* screen.  The first argument is the    */
  7. /* array and the second argument is the */
  8. /* size of the array.            */
  9. /*                    */
  10. /*--------------------------------------*/
  11. void rite(a,b)
  12. char a[];
  13. int b;
  14. {
  15.     char r[80];
  16.     int j;
  17.     for (j=0;j<b;j++)
  18.              out(a[j],1);
  19. }
  20.