Return from include script and include scripts limitation?

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

Return from include script and include scripts limitation?

Postby Damien » 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 :).

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Return from include script and include scripts limitation?

Postby FrancescoT » Wed Nov 30, 2016 1:33 pm

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?

Postby Damien » Thu Dec 01, 2016 7:39 am

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?

Postby FrancescoT » Tue Dec 06, 2016 6:32 am

Dear Damien,

this should be fixed now.
https://www.installaware.com/forums/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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 55 guests