Click or drag to resize

RddName Function

X#
Return an RDD name.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION RddName() AS STRING
Request Example View Source

Return Value

Type: String
Remarks
By default, this function returns the name of the RDD in the currently selected work area.
It can be made to operate on an unselected work area by specifying it within an aliased expression. The default RDD can be set by RDDSetDefault().
Examples
The following example checks the default RDD to report the default extension for the index files:
X#
1IF RDDName() == "DBFMDX"
2    QOut(".MDX extension")
3ENDIF
See Also