GET_INFO(RANGE_VARIABLE)
For an overview of the GET_INFO built-in, see the HELP topic GET_INFO.
For a list of string constants you can use for parameter2 when
parameter1 is a range variable, see the following table.
Parameter 2 | Return Value (Parameter 1 is a range variable)
-------------------+------------------------------------------------+
"buffer" | Buffer - The buffer in which the range
| is located
"video" | Keyword - Video attribute of the range
-------------------+------------------------------------------------+