Group: comp.lang.fortran · Group Profile · Search for Operator error in comp.lang.fortran
Author: Rich Townsend
Date: Sep 21, 2006 13:18
...a problem relating to the precedence of the exponentiation (**) operator. Sample program: program foo print *,2.**-3.*8... order (from high to low) for the operations in the print statements is **, *, unary ... second. With Lahey lf95, the code won't compile, throwing an 'Invalid operator' error. It seems it doesn't like two consecutive operators -- is this mandated by the Standard? cheers,...
|