fortran - How to interpret dots in an if statement? -
what dots mean in following code?
if ((tau.ge.dts).and.(tau.le.(dts+dth))) = b+c end
before fortran90, dots required around operators. can use >=
instead of .ge.
, <=
instead of .le.
. being 1 of oldest languages, there lot of things still carried through , supported - spacing , operators among more interesting features.
fortran90 new features (see relational operators): https://gcc.gnu.org/onlinedocs/gcc-3.4.4/g77/fortran-90-features.html
Comments
Post a Comment