| James Giles 2004-06-25, 7:43 pm |
| glen herrmannsfeldt wrote:
> Toon Moene wrote:
....
....[color=darkred]
> Now, if you modify WHATIF and relink (yes, linking is not
> part of the standard), what kind of result do you get?
>
> Say, for example I change to:
>
> LOGICAL FUNCTION WHATIF()
> WHATIF = .TRUE.
> END
>
> and link with the previously compiled version?
I don't know Toon's answer here, but my bet is that
inlined functions can't be relinked. In fact, I'd bet
that the object code for his original program doesn't
list WHATIF() as an external procedure reference.
As you say, linking (loading - why the change in traditional
terminology?) is not part of the standard and the standard
doesn't reqiure that programs may be processed by relinking
single changed procedures into the old code.
--
J. Giles
"I conclude that there are two ways of constructing a software
design: One way is to make it so simple that there are obviously
no deficiencies and the other way is to make it so complicated
that there are no obvious deficiencies." -- C. A. R. Hoare
|