Re: While we are on the subject of modules...
- From: "Jugoslav Dujic" <jdujic@xxxxxxxxx>
- Date: Thu, 28 Sep 2006 13:39:44 +0200
David Flower wrote:
| ... is there a solution to the following problem ?
|
| I want a module that contains
|
| 1) INTERFACE OPERATOR and INTERFACE ASSIGNMENT statements
|
| and
|
| 2) The corresponding FUNCTIONs and SUBROUTINEs
I must say I don't get the definition of the problem (and thus the question),
in particular:
| Then the FUNCTION PLUS will itself be subject to the INTERFACE OPERATOR
| statement.
"be subject to the" -- in which sense?
What you wrote is a legal code (modulo shortening) whereby an addition can
be expressed in the USEing program unit as
Z = X + Y
or
Z = PLUS(X,Y)
being semantically equivalent. Are you saying you don't want that or...?
--
Jugoslav
___________
www.xeffort.com
Please reply to the newsgroup.
You can find my real e-mail on my home page above.
.
- References:
- While we are on the subject of modules...
- From: David Flower
- While we are on the subject of modules...
- Prev by Date: Re: floating-point DO loops
- Next by Date: Re: comment and IBM xlf
- Previous by thread: While we are on the subject of modules...
- Index(es):