Programmer's WorkBench (pwb.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Cdelete Function
                                             Up Contents Index Back
─────Programmer's WorkBench─────────────────────────────────────────────────
 
     Cdelete («cdelete»)
 
     Deletes the previous character, excluding line breaks. If the
     cursor is in column 1, Cdelete moves the cursor to the end of the
     previous line.
 
     In insert mode, Cdelete deletes the previous character, reducing
     the line length by 1.
 
     In overtype mode, Cdelete deletes the previous character and
     replaces it with a space character. If the cursor is beyond the
     end of the line, the cursor moves to the immediate right of the
     last character on the line.
 
     Emacscdel is similar to Cdelete. However, in insert mode,
     Emacscdel deletes line breaks; in overtype mode beyond the end
     of the line, it does not automatically move to the end of the
     line.
     See: Emacscdel
 
     Returns
 
     True:  Cursor moved.
     False: Cursor not moved.
 
     See
 
     Delete, Emacscdel, Ldelete, Sdelete
                                    -♦-