>  Docs Center  >  Libraries  >  Galloy  >  mg_backspace


mg_backspace.pro (mglib)

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.


mg_backspace [, nchars]


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%

© 2023 NV5 Geospatial |  Legal
My Account    |    Contact Us