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