Difference between revisions of "ISInterface:IsAlias"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
===Syntax=== | ===Syntax=== | ||
− | + | *bool IsAlias(char *Name) | |
== Purpose == | == Purpose == | ||
− | + | Check to see if '''Name''' is an alias | |
== Usage == | == Usage == | ||
=== Parameters === | === Parameters === | ||
− | + | *char *Name | |
+ | :'''[in]''' Name to check | ||
=== Return Value === | === Return Value === | ||
− | + | *bool | |
+ | :Returns true if it is an alias, false if it is not | ||
== Examples == | == Examples == | ||
− | + | ;Example code | |
+ | if (pISInterface->IsAlias("binds")) | ||
+ | { | ||
+ | pISInterface->ExecuteCommand("echo hi"); | ||
+ | } | ||
== See Also == | == See Also == |
Latest revision as of 02:02, 2 September 2005
Syntax
- bool IsAlias(char *Name)
Purpose
Check to see if Name is an alias
Usage
Parameters
- char *Name
- [in] Name to check
Return Value
- bool
- Returns true if it is an alias, false if it is not
Examples
- Example code
if (pISInterface->IsAlias("binds")) { pISInterface->ExecuteCommand("echo hi"); }