TorqueScript Reference
Functions

Functions

void addPathExpando (string expando, string path)
 
string collapsePath (string path)
 
string expandPath (string path)
 
int getPathExpandoCount ()
 
string getPathExpandoKey (int expandoIndex)
 
string getPathExpandoValue (int expandoIndex)
 
bool isPathExpando (string expando)
 
void removePathExpando (string expando)
 

Detailed Description

Function Documentation

void addPathExpando ( string  expando,
string  path 
)

Adds the expando to the path. If it already exists then it is replaced.

string collapsePath ( string  path)

Collapses a path into either an expando path or a relative path.

string expandPath ( string  path)

Expands an expando or relative path into a full path.

int getPathExpandoCount ( )

Gets the expando path count.

string getPathExpandoKey ( int  expandoIndex)

Gets the path expando key (the expando name) at the specified index.

string getPathExpandoValue ( int  expandoIndex)

Gets the path expando value (the expando path) at the specified index.

bool isPathExpando ( string  expando)

Checks whether the specified path expando is current set or not.

void removePathExpando ( string  expando)

Removes the specified path expando.