From lstevent@cs.uct.ac.za (L W Steventon) Newsgroups: comp.sys.hp48 Subject: Re: Q: ML version of PORTSTATUS? Date: Mon Apr 10 12:27:20 PDT 1995 Organization: University of Cape Town Andre Schoorl (aschoorl@Engr.UVic.CA) wrote: : Hello all, : "M" - if it is merged : OR : "W" - if it is freed and write-able : OR : "L" - if it is a locked RAM card (or ROM card) : OR : "" - if the port is unavailable Hi, not quit what you wanted but.... Somebody wanted a portstatus that returns a string.... I hacked this out this afternoon (10/4/95) on Jazz. Anyway, details as follows: Works on: S/SX/G/GX Args : a real (either 1 or 2 ie port 1/port 2) Result : " " : no card "F" : RAM card (free'ed) "R" : ROM "M" : MERGE'ed Ok, that's it.... Source and UUencode below..... -Bye -Richard