Consultor Eletrônico



Kbase P109888: Changes to Include files are only reflected once the Progress session is restarted
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   24/02/2006
Status: Unverified

SYMPTOM(s):

Changing Include (.i) files when a Progress application is active

Updates to the .i files are not reflected in the application

Progress session has to be restarted before the changes become available

Changes .P and .W files are reflected within the session and no restart is required

CAUSE:

This is expected behaviour. The Online Help for Progress states the following with regards to Include file references:

{} Include file reference
Causes Progress to retrieve the statements in a file and compile them as part of the main procedure if it encounters the file's name inside braces ({}) when compiling the procedure.

Progress has retrieves the contents of an Include file and compiles it into the main procedure. As far as Progress is concerned, once compiled and in memory, the Include file is part of the main procedure rather than a separate file. This is not the case with .P and .W files.

FIX:

Close and restart the Progress sessions to view updates to Include files