Develop > Programming > System Language reference > List: RAD functions > RAD function: current.device

RAD function: current.device

A RAD function that returns a string containing the name of the device or Configuration item (CI) associated with the user that is currently logged on.

Function

current.device

Format

current.device()

Factors

The value of $lo.device is set to the value of current.device upon login.

Example

current.device() returns /dev/tty00 (on Unix)