Xref: utzoo misc.misc:4314 comp.sys.hp:1393 comp.sys.misc:1992 Path: utzoo!attcan!utgpu!watmath!clyde!att!rutgers!gatech!purdue!decwrl!labrea!agate!ucbvax!vmsa.technion.ac.il!ners001 From: ners001@vmsa.technion.ac.il Newsgroups: misc.misc,comp.sys.hp,comp.sys.misc Subject: HP9836 BASIC -- HELP !! Message-ID: <281@vmsa.technion.ac.il> Date: 2 Jan 89 10:51:43 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: Technion Israel Institute of Technology, Haifa Israel Lines: 21 ******* Does anybody out there know what the following lines of BASIC mean? (this is supposedly written for an HP 9836) SUB Out_word(@GPIB,INTEGER Xbuf(*),N) INTEGER Odata FOR I=1 TO N Odata=ROTATE(Xbuf(I),8) OUTPUT @GPIB USING "#,W";Odata NEXT I SUBEND This obviously is sending data to a GPIB device, but what would be the equivalent in C? What does the ROTATE function do? What does the output look like (binary word transfer or formatted ASCII)? Thanks for all your help, Benjamin Cohen NERS001@VMSA.TECHNION.AC.IL (bitnet)