home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / Samples / C-ASM_VI.ARJ / PROGC.ZIP / PROGC054.C < prev    next >
Text File  |  1988-04-10  |  714b  |  15 lines

  1.  
  2. /************************************************************************/
  3. /* Display 'Hello' in a single line box                                 */
  4. /************************************************************************/
  5.  
  6. boxed_hello()
  7.         {
  8.         static char line1[] = {218,196,196,196,196,196,196,196,191,0};
  9.         static char line2[] = {179,' ','H','e','l','l','o',' ',179,0};
  10.         static char line3[] = {192,196,196,196,196,196,196,196,217,0};
  11.         write_string(10, 35, line1);    /* Display top of the box       */
  12.         write_string(11, 35, line2);    /* Display middle of the box    */
  13.         write_string(12, 35, line3);    /* Display bottom of the box    */
  14.         }
  15.