NEW {type} {name | number}* {position}* {slot value}*

Arguments:

  {type}                The type of object to create.
  {name | number}*      The name or number of new objects.
  {position}*           Target container position .
  {slot expr}*          Zero or more slot and expression pairs.


Overview:

The NEW command creates one or more objects of {type}. If
{type} is a container class then only one object is
created with an optional {name}. Otherwise 
{type} is a basic data class such as Midi-Note, and  
{number} of objects are created. If {number} is the token
*, then the first expr in the {slot expr}* pairs is assumed
to be an item stream whose period determines the number
of objects to create.  New objects are placed at {position},
which may be the name of a container or a container and
index.  If {position} is not specified, it defaults to
Top-Level for containers and the current focus container
or Pasteboard for data.

Examples:

Create new thread Foo and place at position 4 in Bar:

	new thread foo bar[4]

Append 5 new midi-notes to Foo:

	new midi-note 5 foo

Create 20 new midi-notes at foo[1] with notes and rhythms set:

        {new midi-note * foo[1] 
             note (notes c4 d e for 20) rhythm 1.0}

See also:

LOAD, REHASH, SET