Declaration:  NewItem(ItemPath, ItemType, Name: String): String
Creates a new child item for the given item.
ItemType is optional and allows you to set the type of item to create.
Name is optional, sets the name for the new child item.

Source Code:

output(NewItem(itempath, 'Folder', 'Attachments'));