Return from include script and include scripts limitation?
Posted: Wed Nov 30, 2016 5:48 am
I need some clarification on return from include script limitation.
As documentation says, "Include scripts cannot refer to themselves or one another recursively".
I understand a script must not be recursivly called, even by an other include (script 1 - include ⇒ script 2 - include ⇒ script 1).
But is Script 1 - include ⇒ Script 2 - include ⇒ Script 3 allowed (with all scripts are returning a value)?
It seems to work when build on IDE, but I probably found a bug, but if it is not allowed... it is not really a bug
.
As documentation says, "Include scripts cannot refer to themselves or one another recursively".
I understand a script must not be recursivly called, even by an other include (script 1 - include ⇒ script 2 - include ⇒ script 1).
But is Script 1 - include ⇒ Script 2 - include ⇒ Script 3 allowed (with all scripts are returning a value)?
It seems to work when build on IDE, but I probably found a bug, but if it is not allowed... it is not really a bug
