ALIAS()

From Recital Documentation Wiki
Revision as of 11:04, 24 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Table Basics


Purpose

Function to return an alias name


Syntax

ALIAS([<expN>])


See Also

DBF(), READVAR(), SELECT, SELECT(), USE, WORKAREA()


Description

The ALIAS() function returns, as a character string in upper case, the alias name of the table in the currently selected workarea, or a null string if no table is active. The optional parameter <expN> can be used to specify the workarea number in which the ALIAS() function should operate.


Example

use demo
? alias()
CUSTOMER
? alias(2)
ACCOUNTS
? dbf()
customer.rdb


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer