trq@astrovax.UUCP (Thomas R. Quinn) (04/05/84)
Subject: problem with mixed-mode in f77 Index: usr.bin/f77 4.2BSD Description: Assigning an integer to the sum of a non-zero integer and "0" times a real results in the integer being assigned the value "0". Repeat-By: Compile and run the following program under f77. iwrblk = 1 + 0*1.0 print *,iwrblk end The program will print "0" instead of the correct value "1". Note that the statement print *, 1 + 0*1.0 will print the correct value.