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

  1. /*
  2.    Listing 23.5  MEMOEDIT Initialization
  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. #include "MEMOEDIT.CH"
  13. #include "INKEY.CH"
  14.  
  15. function ME_UDF( me_mode,me_row,me_col )
  16. STATIC me_loop :=0
  17. if me_mode = ME_INIT      // MEMOEDIT.CH  (Mode 3)
  18.    me_loop ++
  19.    do case
  20.    case me_loop = 1
  21.       return ME_TOGGLEWRAP
  22.    case me_loop = 2
  23.       return K_INS
  24.    otherwise
  25.       return 0
  26.    endcase
  27. endif
  28. return 0
  29.  
  30. // end of file CHP2305.PRG
  31.