simon
Joined: 05 Jul 2006 Posts: 295
|
Posted: Mon Apr 14, 2025 11:37 pm Post subject: Operator |
|
|
FTN95 does not allow spaces in some operator declarations. For example, the
following is not permitted:
Code: | Public :: Operator( /= )
Interface Operator( /= )
Module Procedure p1
End Interface |
but the following is permitted:
Code: | Public :: Operator( == )
Interface Operator( == )
Module Procedure p1
End Interface |
The first example, has to be written as:
Code: | Public :: Operator(/=)
Interface Operator(/=)
Module Procedure p1
End Interface |
No big deal, of course, but it was a little confusing for a short while. |
|