Develop > Programming > System Language reference > List: RAD functions > RAD function: sysinfo.get("Mode")

RAD function: sysinfo.get("Mode")

A RAD function that returns the following:

  • Returns server if RAD is running in server mode.
  • Returns sm if RAD is running on a sm process.
  • Returns SOAP if RAD is running on a Windows or Web client.
  • Returns express if RAD is running in express mode.

Function

sysinfo.get("Mode")

Format

$info=sysinfo.get("Mode")

Examples

$mode=sysinfo.get("mode")

Returns SOAP if the user is running on a Windows or Web client.

If sysinfo.get("mode")="client" then (...)
If (index(sysinfo.get("mode"),{"sm","server",
"express"})>0 then (...)