| Name |
GetAliasList |
| Type |
Method |
| Summary |
Gets the list of aliases |
| Prototype |
VARIANT GetAliasList(); |
| Description |
Returns
an array of all the named aliases currently defined. You can then use GetAlias
or GetAliasInfo for more details about each one. |
| VBscript example |
dim alList
alList = World.GetAliasList
If Not IsEmpty (alList) then
For Each name In alList
world.Note name
Next
End If |
| Jscript example |
aliaslist = new VBArray(world.GetAliasList()).toArray();
if (aliaslist) // if not empty
for (i = 0; i < aliaslist.length; i++)
world.note(aliaslist [i]); |
| PerlScript example |
foreach $item (Win32::OLE::in ($world->GetAliasList))
{
$world->note($item);
} |
| Returns |
If there are no aliases (with names) then the return value is empty. Use "IsEmpty" to test for this possibility.
Otherwise, it returns a variant array containing the names of all the
aliases. Use "ubound" to find the number of aliases in the list. You can
then use "GetAlias" to find details about each alias. |