The which-line command puts the current port number into the Proc primary input buffer. This was used by the old Proc-version of power-off, which has subsequently been replaced by a FlashBASIC program.
who.substitute 001 pq 002 oYou are using port # 003 hwhich-line 004 p 005 d