u3079

u3079


u3060 Index Level u307a
Syntax pcb.fid = ICONV( port.number, 'u3079' )

port.number = OCONV( pcb.fid, 'u3079' )
Category BASIC
Type User Exit
Description returns the PCB fid of the current process, or returns the port number of the current process.

If "iconv," returns the PCB (Primary Control Block) fid in hex of the current process.

If "oconv," returns the port number of the current process.

If another port is specified, then the port number must be in hex.
Options
See Also user exits, FlashBASIC u4117 u3070 u5117 u2070 u2117
Example a = iconv(0, 'u3079')

"a" will be the PCB for port 0 (in hex).

a = oconv('02c0', 'u3079')

"a" will be Port 0 for a system with 704 ABS frames.
Warnings
Compatibility OA/RT R83 3.1 R83 2.2
u3060 Index Level u307a