Progress
Language Reference


NUM-ALIASES Function

Interfaces
OS
SpeedScript
All
All
Yes

Returns an integer value that represents the number of aliases defined. The NUM-ALIASES function uses no arguments.

SYNTAX

NUM-ALIASES 

EXAMPLE

This procedure displays the number of defined aliases. It also displays the aliases and logical database names of all connected databases.

r-numal.p
DEFINE VARIABLE I AS INTEGER.

DISPLAY NUM-ALIASES LABEL "Number of Defined Aliases:".
REPEAT I = 1 TO NUM-ALIASES.
    DISPLAY ALIAS(I) LABEL "Aliases"
            LDBNAME(ALIAS(I)) LABEL "Logical Database".
END. 

SEE ALSO

ALIAS Function, CONNECT Statement, CONNECTED Function, CREATE ALIAS Statement, CREATE DATABASE Statement, DATASERVERS Function, DBRESTRICTIONS Function, DBTYPE Function, DBVERSION Function, DELETE ALIAS Statement, DISCONNECT Statement,FRAME-DB Function, LDBNAME Function, NUM-DBS Function, PDBNAME Function, SDBNAME Function


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095