Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

Description

Retrieves the parent of a module. If the module has no parent, and empty string, "", is returned.

Functional area

Data retrieval

Command syntax

Syntax

getParent module [-fullPath] [-nameOnly]

Arguments

NameTypeRequiredComments
moduleNamestringyesThe module to get parent for.

Flags

NameFlag argumentsArgument typeExclusive toComments
fullPath0nameOnly
nameOnly0fullPath

Return value

string

Examples

// Get the parent of the "rhumerus".
string $parent;
$parent = `getParent "rhumerus"`;
print $parent;

Additional information

Related commands

  • No labels