Re: While we are on the subject of modules...



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.
.