* * $Id: uh1toc.F,v 1.2 1996/04/02 23:17:48 thakulin Exp $ * * $Log: uh1toc.F,v $ * Revision 1.2 1996/04/02 23:17:48 thakulin * Add support for EPC Fortran: remove char-int equivalences and use * F90 transfer facility instead. * * Revision 1.1.1.1 1996/02/15 17:50:15 mclareni * Kernlib * * #include "kerngen/pilot.h" SUBROUTINE UH1TOC (MS,MT,NCH) C C CERN PROGLIB# M409 UH1TOC .VERSION KERNFOR 4.21 890323 C ORIG. 10/02/89 JZ C DIMENSION MS(99) CHARACTER MT*99 #include "kerngen/wordsize.inc" CHARACTER CHWORD*(NCHAPW) INTEGER IWORD #if !defined(CERNLIB_F90) && !defined(CERNLIB_QFEPC) EQUIVALENCE (IWORD,CHWORD) #endif IF (NCH) 91, 29, 11 11 DO 24 JS=1,NCH IWORD = MS(JS) #if defined(CERNLIB_F90) || defined(CERNLIB_QFEPC) CHWORD = transfer(IWORD,CHWORD) #endif MT(JS:JS) = CHWORD(1:1) 24 CONTINUE 29 RETURN 91 CALL ABEND END