TorqueScript Reference

- Main Page
- Related Pages
- Modules
- Classes

Functions
Path Expando
Function Categories

## Functions
void | addPathExpando (string expando, string path)
String | collapsePath (string path)
String | expandPath (string path)
Integer | getPathExpandoCount ()
String | getPathExpandoKey (int expandoIndex)
String | getPathExpandoValue (int expandoIndex)
Boolean | 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.

Integer 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.

Boolean isPathExpando | ( | string | expando | ) |

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

void removePathExpando | ( | string | expando | ) |

Removes the specified path expando.