Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes



top 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.


nchars in optional type=long default=1L

number of characters to backspace


Try the main-level example program at the end of this file:

IDL> .run mg_backspace 100%

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 13
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.