Auto-Number

Contents  Previous  Next

 

Menu: Block > Auto-Number

 

Default Shortcut Key: None

 

Macro function: AutoNumber()

 

The Auto-Number command can be used to automatically number a selected range of lines.  A variety of options are available to control the numbering operation, and are described below:

 

BlockAutoNumber

 

Numbering

Start at

This is the value that will be used to start the numbering from.

 

Step by

This is the increment that numbering will jump by from line to line.  Programmers might use 10 or 100 for program listings, for example.

 

Use actual line numbers

This option allows the line number for each line to be used.  When this option is used, the Start at and Step by options are disabled.

 

Skip blank lines

Use this option to control whether or not blank lines will be numbered.

 

Order

Ascending

Use this option for numbering which increases in value.

 

Descending

Use this option for numbering which decreases in value.

 

Options

Insert leading zeros

This option can be used to force leading zeros on the numbers.

 

Field width

Use the field width property to control the width of the numbers that will be generated.  Use '0' for automatic sizing.

 

Prefix string

Use this edit box to specify the text to be placed at the left of the numbers.

 

Suffix string

Use this edit box to specify the text to be placed at the right of the numbers.

 

Justification

Left justify

This option can be used for numbering which is left aligned.

 

Right justify

This option can be used for numbering which is right aligned.

 

Number System

Decimal

Use this option for numbering in the decimal system.

 

Hexadecimal

Use this option for numbering in the hexadecimal system.  The case of the alphabetic characters used can be controlled with the Lowercase and Uppercase options below.

 

Octal

Use this option for numbering in the octal system.

 

Roman Numeral

Use this option for numbering with Roman Numerals.  The case of the alphabetic characters used can be controlled with the Lowercase and Uppercase options below.

 

Case

Lowercase

This option can be used to dictate that lowercase characters be used when Hexadecimal or Roman Numeral numbering is in use.

 

Uppercase

This option can be used to dictate that uppercase characters be used when Hexadecimal or Roman Numeral numbering is in use.