function l1x(a) c given a character * 1 a with 4 bites we store these four bites c in an integer*4 in the last four bites of the integer. c we do this by equivalencing the integer*4 to a array of char *1 c with dimension 4, and put a in the fourth position of that b array, c which will be the last four bytes of the integer*4 character*1 a, b(4) integer l1x, c equivalence (c,b(1)) data c /0/ c = 0 b(4) = a l1x = c return end