home *** CD-ROM | disk | FTP | other *** search
- /*
- Listing 23.5 MEMOEDIT Initialization
- Author: Joe Booth
- 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
- */
-
-
- #include "MEMOEDIT.CH"
- #include "INKEY.CH"
-
- function ME_UDF( me_mode,me_row,me_col )
- STATIC me_loop :=0
- if me_mode = ME_INIT // MEMOEDIT.CH (Mode 3)
- me_loop ++
- do case
- case me_loop = 1
- return ME_TOGGLEWRAP
- case me_loop = 2
- return K_INS
- otherwise
- return 0
- endcase
- endif
- return 0
-
- // end of file CHP2305.PRG
-