next up previous contents index
Next: The !rg Command: Set Up: Grid Previous: Grid   Contents   Index

The !sg Command: Save Grid in Register

Syntax: !sg [regnum]
There is a set of eight registers that can hold grid parameters. Thus, grids can be saved and quickly restored. Whenever the grid is changed, for example with the Set Grid command in the Main Window sub-menu of the Attributes Menu, the previous grid is saved in register 0.

This will save the grid of the drawing window containing the pointer (or the main drawing window if the pointer is not in a drawing window) into register regnum. The regnum must be an integer 0-7, and is taken as 0 if not given.

The grid can be restored from a register with the !rg command.

Stephen R. Whiteley 2022-05-28