function ist(a) c john belcher 3/10/2018 c given a character * 1 a with 1 byte we store this byte c in an integer*4, putting "a" twice in the first two bytes of c the integer*4 c c we do this by equivalencing the integer*4 to a array of char *1 c with dimension 4, and put "a" in the first position of that "b" array, c and also in the second position of that b array c which will be the first two bytes of the integer*4 c c c this is so that we put the status word in an integer*4 variable c with the one byte status word in the order expected c character*1 a, b(4) integer ist, c equivalence (c,b(1)) data c /0/ c = 0 b(1) = a b(2) = a ist = c return end