./
mg_backspace.pro
includes main-level programtop source mg_backspace
mg_backspace [, nchars]
Backspaces a nchars
characters. Backspacing beyond the beginning of a line
will have no effect.
If trying to erase previous content, make sure to print the previous content
using the $
format code which indicates to not move to a new line.
Note that this routine will not work in terminals that don't understand ANSI escape codes, i.e., the Workbench command line.
Parameters
- nchars in optional type=long default=1L
number of characters to backspace
Examples
Try the main-level example program at the end of this file:
IDL> .run mg_backspace
100%
File attributes
Modification date: | Wed Nov 2 15:38:14 2011 |
Lines: | 43 |
Docformat: | rst rst |