ue.3b

User Exit/BASIC Program, Releases: AP

Returns information about the port.

Syntax

line.status = oconv( code, 'u3b')

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.

Example

result = oconv( 'c':46, 'u3b' )
print result

188

The current CPU charges for port 46 is 188 units.

See Also

Command Name Type Description
basic.user.exits User Exit List of Pick/BASIC user exits.
tcl.charges Verb: Access Displays total time logged on and cpu activity statistics.
tcl.where Verb: Access Displays system execution information.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.