>  Docs Center  >  Libraries  >  Galloy  >  mg_backspace
Libraries

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.

Syntax


mg_backspace [, nchars]

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%



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
My Account    |    Contact Us