Bundt Scripting Reference · Bundt Scripting Language version 1.0.1.0

create package statement

Creates a new package in the context type model. If no type model is in context, an error occurs.

The created package is put in context.

Syntax

create package Name
    [in Owner]

Element Type Optionality Notes
Name Expression<Identifier> or Expression<Dictionary<Identifier>> Mandatory. Specifies the name of the new package, either as an identifier or in multilingual dictionary format.
Owner Package name Optional. Specifies the package that will own the new package.

Returns

The package just created.

Examples

Intent Code
Create a new root package with a simple name create package Organization;
Create a new root package with a multilingual name create package [en_GB: Organization, es_ES: OrganizaciĆ³n];
Create a new sub-package create package Roles in Organization.Staff;

See Also


Contents distributed under a Creative Commons Attribution 4.0 International License · About · Terms of Use · Contact Us · last updated on 08 October 2020