op.outlineToList

Syntax op.outlineToList (adrOutline, flWholeOutline = false, flPreserveBlanks = false)

Params adrOutline is the address of an outline to get as a list.

flWholeOutline is an optional boolean specifying whether or not to get the entire outline as a list, or just start from the bar cursor.

flPreserveBlanks is an optional boolean specifying whether or not blank lines should be preserved as empty items in the list.

Action Gets an outline version of a list.

Returns The list.

Examples op.outlineToList (@examples.Universe, true, true)

   » {"Universe", {"Milky Way Galaxy", {"Solar System", {"Earth", {"North America", {"Canada", "United States", {"California", {"Palo Alto", "San Francisco"}, "Michigan", "New York"}}}}}}}

Notes Subheads are nested lists.

See Also op.listToOutline

op.outlineToXml

Discuss