trq@astrovax.UUCP (Thomas R. Quinn) (03/19/84)
I have sent the following bug report to berkely: Subject: problem with parameters in f77 Index: usr.bin/f77 4.2BSD Description: Assigning an integer to the sum of an integer and "0" times "iparam" where the value of "iparam" is defined in a parameter statement results in the integer being assigned the value "0". Repeat-By: Compile and run the following program under f77. parameter(IRED = 256) iwrblk = 10 + 0*IRED print *,iwrblk end The program will print "0" instead of the correct value "10". Note that the statement print *, 10 + 0*IRED will print the correct value.