Return from include script and include scripts limitation?

Got a problem you cannot solve? Try here.
Post Reply
Damien
Posts: 14
Joined: Wed Dec 02, 2015 10:36 am

Return from include script and include scripts limitation?

Post by Damien »

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 :).
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Return from include script and include scripts limitation?

Post by FrancescoT »

Dear Damien,

this means that it's not possible to recursively call a script, from the same identical script or from one another recursively.

For example;

- having SCRIPT ONE, you cannot recursively include SCRIPT ONE in SCRIPT ONE

- having SCRIPT ONE and SCRIPT TWO, you cannot recursively include SCRIPT TWO in SCRIPT ONE if SCRIPT TWO includes SCRIPT ONE.

...hope it's clear :D !

regards.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Damien
Posts: 14
Joined: Wed Dec 02, 2015 10:36 am

Re: Return from include script and include scripts limitation?

Post by Damien »

Thanks for informations :)

So there is a bug, I did a new post to not mix questions/problems :
viewtopic.php?f=2&t=10830

Hope it will help to improve IA!
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Return from include script and include scripts limitation?

Post by FrancescoT »

Dear Damien,

this should be fixed now.
viewtopic.php?f=2&t=10831

Many thanks for reporting this to us.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply