ALIAS()

Returns the alias name of a work area

Syntax

Alias([<nWorkArea>]) --> <cWorkArea>

Arguments

<nWorkArea> Number of a work area

Returns

<cWorkArea> Name of alias

Description

This function returns the alias of the work area indicated by If is not provided, the alias of the current work area is returned.

Examples

FUNCTION Main()
USE Test
select 0
qOut( IF(Alias()=="","No Name",Alias()))
Test->(qOut(Alias())
qOut(Alias(1))
RETURN NIL

Status

Ready

Compliance

ALIAS() is fully CA-Clipper compliant.

Files

Library is rdd

See Also