home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast2.iso
/
sprint
/
hident.zip
/
HIDENT.SPM
Wrap
Text File
|
1989-07-02
|
1KB
|
29 lines
; in order to replace all control characters with their
; equivalent ^<letter> combinations from the cursor position
; to the end of the current region simply summon this macro
;
; the conversion will delete all translated characters except
; <newline> so that the translated text remains split into the
; same lines as it was before.
;
; I find this useful to grab a region of text that I want to
; reproduce in a macro, paste it into the macro file, translate
; it and away I go.
;
; created by : Ken Westerback 73547, 3520
;
; ( with a little help from the Cap'n )
crtascii :
int crrchr
markregion
do { if (current < 32) { current -> crrchr
if !isnl del ; keeps lines separated
insert "^"
crrchr+64
insert
}
c ;<--- VERY important if you want to avoid being trapped here!
} while before themark