3.5.12.16 Uid2range

Return a range variable given a universal identifier (UID) as input. This function obtains the range for a dataset (column of data) which has been plotted in a graph.


Syntax

range rangeName = Uid2range(uidNumber)$


Example

range -w aa=%C;                         // Column range for active plot, -w switch defaults to the data (Y) column
range ss = uid2range(aa.GetLayer())$;   // GetLayer() returns the UID of layer of the range 'aa'
ss.name$=;                              // Show worksheet name
range bb = uid2range(aa.GetPage())$;    // GetPage() returns the UID of page of the range 'aa'
bb.name$=;                              // Show workbook name


See Also:

Colnum (function)

NameOf (function)

Range2uid (function)

Uid2name (function)