Answer

Fortran probably added the first two arguments and ignored the third. This is understandable, since ADD expected only two arguments. Nevertheless, this could be quite confusing if you thought that ADD took three arguments, since there's no warning given. You should also be aware that worse things could happen. Some implementations of Fortran might choose to ignore the first argument and add the next two.

Return to lesson.



Hamlet Project
hamlet@cs.utah.edu