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

  1. /*
  2.    Listing 23.4  MEMODISP()
  3.    Author: Joe Booth
  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.  
  12. function memodisp(cmemo)
  13. local oldscrn := savescreen(10,10,20,60)
  14. @ 10,10 to 20,60 double                // Draw a box
  15. memoedit( cMemo,11,11,19,59,.F.,.F. )  // Display the memo
  16. inkey(500)                             // Wait for any key
  17. restscreen(10,10,20,60,oldscrn)
  18. return nil
  19.  
  20. // end of file CHP2304.PRG
  21.