What are collections?

A collection is very similar to an array; however, the collection is an object (see What is meant by the term "object model?") with various methods that in many instances make dealing with a collection much more convenient than dealing with an array. In Statistica Visual Basic, all results spreadsheets and graphs from analyses are returned as collections, which makes the programmatic editing, storing, and further processing of results very convenient. See also How can I access results spreadsheets, graphs, workbooks etc.?).