Subroutine: CNVRTH Purpose: Converts two byte integers from foreign machines to the format supported by the current machine. Category: SYSTEM File: cnvrt.c Author: K.G. Begeman Use: CALL CNVRTH( INTYPE, Input INTEGER INBYTE, Input BYTE ARRAY OSSHRT, Output SHORT ARRAY NSHRTS ) Input INTEGER INTYPE Type of input format. Can be 1 (VMS), 2 (UNIX), 3 (IBM), 4 (MSDOS,DECstations) or r (CONVEX). INBYTE Array of bytes which contains the foreign data. OSBYTE Array of shorts which contains the converted results. NBYTES Number of shorts to be converted. Warnings: Machine dependent! Currently implemented for VMS, SUN, CONVEX, ALLIANT, HP 9000 and MSDOS PC's. Notes: On the machines currently supported a short contains two bytes. Updates: Jul 14, 1989: KGB, document created.