Scope of global variables in Subroutine. (Release Announcements)

by aprekates, Wednesday, June 17, 2015, 09:32 (742 days ago)

T=1

CALL TEST()

SUBROUTINE TEST()
PRINT T
END SUBROUTINE


ERROR on line X: Unknown variable T.


Is that behavior correct? A subroutine cant see global vars.


Complete thread:

 RSS Feed of thread

powered by my little forum