RAD function: gui

A RAD function that determines whether or not a process is running in GUI mode.

Function

gui

Format

$bool=gui()

Example

$bool=gui()

After execution in GUI mode, the value of $bool is true. After execution in text mode, value of $bool is false.