| ue0ba | Index Level | variable |
| Syntax | var = OCONV( function, 'uf070' ) |
| Category | BASIC |
| Type | User Exit |
| Description |
starts and stops multi-user mode, and returns information about the number of serial ports, pibs, phantom pibs, licensed users, users logged-on, and the maximum number of users that can logon.
Setting the system in single user mode simply prevents more users from being able to log on. Users currently logged on are not affected. "function" "S" to start single user mode, "M" to start multi-user mode, "" to only retrieve the current settings. The returned string consists of 6 values in the following order: 1 SIO The number of serial ports, and an initial character ("s" or "m")) indicating if the system is currently in single or multi-user mode. (The number of serial ports is not returned on Unix-based systems.) 2 PIBS The number of pibs available for serial devices, in hex. 3 PHANTOMS The number of pibs available for phantom jobs, in hex. 4 ULIC The number of licensed users, in hex. 5 ULOG The number of users currently logged on, in hex. 6 UCEIL The maximum number of concurrent users permitted, in hex. |
| Options | |
| See Also | user exits, FlashBASIC maxusers |
| Example |
x = oconv("", "UF070")
print "The current number of users is: ":xtd(x<5>) |
| Warnings |
There may be more ports than licensed users.
On R83 2.2, this returns the value in decimal. On OA, this returns the last port.number AND the last pib. |
| Compatibility | D3 7.0 OA/RT R83 3.1 R83 2.2 AP AP 6.0 |
| ue0ba | Index Level | variable |