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