home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a012 / 1.ddi / CHAP15.EXE / CHP1501.PRG < prev    next >
Encoding:
Text File  |  1991-04-30  |  990 b   |  34 lines

  1. /*
  2.    Listing 15.1. The sky's the limit with Clipper's output capabilities.
  3.    Author: Craig Yellick
  4.    Excerpted from "Clipper 5: A Developer's Guide"
  5.    Copyright (c) 1991 M&T Books
  6.                       501 Galveston Drive
  7.                       Redwood City, CA 94063-4728
  8.                       (415) 366-3600
  9. */
  10.  
  11. //───── NOTE: must compile with the /N option!
  12.  
  13. function Main()
  14.   local mystery := {235,14,67,108,105,112,112,101,114,32, ;
  15.                     53,46,48,33,13,10,184,00,07,183,      ;
  16.                     07,51,201,182,24,178,79,205,16,180,   ;
  17.                     64,187,02,00,185,14,00,186,02,01,     ;
  18.                     14,31,205,33,180,76,205,33}
  19.   ? "Please wait..."
  20.   set alternate to HELLO.COM
  21.   set alternate on
  22.   set console off
  23.   aeval(mystery, { |c| qqout(chr(c)) })
  24.   set console on
  25.   set alternate off
  26.   set alternate to
  27.   ?? "...done."
  28.   ? "Type HELLO at the DOS command line."
  29.   quit
  30.  
  31. return nil
  32.  
  33. // end of file CHP1501.PRG
  34.