On 17 Sep 2003 at 18:44, Alan Cave wrote: > > from QBasic you can use OUT with either hex or decimal arguments but hex > arguments must be preceded by &h eg OUT(&h378,255) would write all ones > to the data bits of (usually) LPT1 > Oops, that should have been OUT &h378,255 or OUT &h278,&hFF if you prefer to stick with Hex throughout and for reading data = INP(&h378) -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body