Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
:ol.
◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
:ol [compact].
The :ol tag starts an ordered list. An ordered list is a two-column list
that contains numbers (in sequence) in the left column and text in the
right. In the help source file, the ordered list must start with the :ol
tag, end with the :eol tag, and contain one :li tag for each item in the
list. Items are numbered starting with 1.
Parameter Description
────────────────────────────────────────────────────────────────────────────
compact Removes blanks lines from between rows in the list. If this
parameter is not specified, the list has one blank line between
each row.
Comments
The text used in the left column depends on the level of nesting of the
ordered list. In a list that is not nested in another ordered list, items
are numbered. In the first level of nesting, items are lettered. Thereafter,
numbering and lettering alternate.
Example
This example uses the :ol tag to start an ordered list:
To remove a disk
:ol.
:li.Open drive door.
:li.Remove disk.
:li.Put disk in safe place.
:eol.
When displayed, the ordered list looks like this:
To remove a disk
1. Open drive door.
2. Remove disk.
3. Put disk in safe place.
See Also
:eol, :li
♦