Hi All,

can anyone clarify the scope of the statement:

ASSIGN n TO SYSTEM(1017)

Is it reset by the next READ/WRITE operation? (or does it only apply to the
next READ/WRITE operation?).

Does it apply only within a subroutine/program?

If I have

PROGRAM PROG1
    ....
        CALL PROG2
        * What will the state of SYSTEM(1017) be here?
        * Perhaps more importantly, how can I check?
END

SUBROUTINE PROG2
    ASSIGN 1 TO SYSTEM(1017)
END

Intuition, from experience suggests that the statement does not have side
effects outside of the local subroutine, but I wanted to check.

thanks,


Craig

_______________________________________________
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to