Next: , Previous: , Up: Options   [Contents][Index]


4.2.79 ‘-+’: Don’t interpret compound assignment operators

Both RATFOR and FORTRAN attempt to translate the commands ‘++’, ‘--’, ‘+=’, ‘-=’, ‘*=’, and ‘/=’ into code that behaves as their C/C++ counterparts. To turn this feature off, use ‘-+’.

Notice that in FORTRAN-90 ‘/=’ is a token for “not equal,” so if you want to use that you must turn off the compound assignment operators with use ‘-+’. However, a better solution is to leave them turned on and use FWEB’s standard ‘!=’ token for “not equal.”

See also -ylx.