u3b

u3b


u352e Index Level u3f
Syntax line.status = OCONV( code, 'u3b' )
Category BASIC
Type User Exit
Description returns information about the port.

"line.status"
 is the port information.

"code"
 is a single character which describes the type of information requested, followed by the port.number to examine.

 "a" returns the ABS base fid.
 "c" returns the CPU units currently used.
 "h" returns the number of pages printed.
 "l" returns the current return stack.
 "p" returns decimal PCB fid.
 "s" returns the hex PIB status code.
Options
See Also user exits, FlashBASIC charges where
Example result = oconv( "c":46, 'u3b' )
print result

188

The current CPU charges for port 46 is 188 units.
Warnings When getting the CPU units, it is necessary to first do an execute of "tcl {line} {user} charges" to synchronize the charges value.
Compatibility D3 7.0 AP
u352e Index Level u3f