Persistate

Package Import Definition

Hide Navigation Pane

Package Import Definition

Previous topic Next topic No directory for this topic  

Package Import Definition

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for the print function Mail us feedback on this topic!  

You can use the classes and operations of other packages in your package by importing them into your definition file with the use statement.  You should always import the Persistate package.  You must include a separate statement for each package you want to import.  For example the following statements import the Persistate package and a package called "DeviceNetwork".

Use persistate.
Use device network.

Syntax

PackageReference = "use" PackageReferenceName ;
PackageReferenceName = <symbol> { <symbol> } ;

See Grammar Notation in Syntax Sections for an explanation of the format and symbols used here

Description

PackageReference

This statement type declares a reference to another package that you want to import and use in your package definition.

PacakgeReferenceName

This is the friendly name of the package that you want to import.  This sequence of symbols is combined in "Pascal" case before being matched against package names.  Pascal case transforms for example my package name to MyPackageName.