Software Archive
Read-only legacy content
17060 Discussions

interface assignment question

rahzan
New Contributor I
399 Views
The interface assignment(=) accepts only module procedures which have TWO args. This mean that it cannot be used to redefine assignments of form:
X(I)=Y
because the index (I) is a third arg.
Is there a way around this(say if I give up on using the = sign)?
Why is this restriction in effect?
Why does the compiler care if I want to check on the value of (I) before making the assignment to X(I)?

Thanks, Tim
0 Kudos
1 Reply
Steven_L_Intel1
Employee
399 Views
That's just the way the language is designed - this is not a compiler issue.

Steve
0 Kudos
Reply