List Variables

This is a text-only command.

Type the text equivalent at the command prompt

The LIST VARIABLES command displays the current variables and their associated values. Listed variables may have been processed directly from a macro or from the keyboard. Variables persist until the current CC3 session is closed. The variable list is presented in a text window.

Any time a macro instruction is processed, the variable and its value is added or updated in the list. In this manner, the table can be a valuable macro debugging tool.

From the keyboard, you can invoke a macro command such as GV (get value), assign a variable name, and then assign a value to the variable. You can then use the variable as input whenever CC3 prompts for a value. In this context, the variable list is useful for referencing or verifying available variables and their values.

Here is an example of this type of variable usage:

  1. Start a new CC3 drawing.

  2. At the "Command:" prompt, type "GV" and press ENTER.

  3. The prompt reads "Variable:". Type "RAD" and press ENTER.

  4. The prompt reads "value:". Type "1.23456" and press ENTER.

  5. The prompt again reads "Command:". Type "CIRR" and press ENTER.

This invokes the Circle: Radius and Center command, equivalent to selecting Draw > Circles > Radius and Center from the menu.

  1. The prompt reads "Radius [1.00000]:". Type "RAD" and press ENTER.

  2. The prompt reads "Center:". Click anywhere on the screen to place the circle. Right-click to stop drawing circles.

The drawn circle has a radius of 1.23456. You can verify this by using the LIST command (Info > List) and selecting the circle.

Text equivalent: LISTVARS