Include within if...endif: I use an "include" file in an InputScript that is not always needed, so that I put around it an

if ....  
   include ...
endif

The include contains Screen commands, and these Screen commands are processed even if the if...endif around the include are not fulfilled. Is this correct?

The "include" is merged into the InputScript before the processing of the InputScript starts. So we have a situation where you have Screen commands within if...endif. This should be avoided; for details see the "Screen" keyword documentation.