Silverfrost Forums

Welcome to our forums

Operator

14 Apr 2025 10:37 #32085

FTN95 does not allow spaces in some operator declarations. For example, the following is not permitted:

   Public :: Operator( /= )
   Interface Operator( /= )
      Module Procedure p1
   End Interface

but the following is permitted:

   Public :: Operator( == )
   Interface Operator( == )
      Module Procedure p1
   End Interface

The first example, has to be written as:

   Public :: Operator(/=)
   Interface Operator(/=)
      Module Procedure p1
   End Interface

No big deal, of course, but it was a little confusing for a short while.

15 Apr 2025 6:34 #32086

Simon

Thank you for the feedback. This failure has now been fixed for the next release of FTN95.

Please login to reply.