Consultor Eletrônico



Kbase 12549: Can icompile.p compile other xcode in runtime? NO.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Can icompile.p compile other xcode in runtime? NO.

You cannot use the xcode of icompile.p to compile other xcode
procedures in Progress runtime. You can write your own compiling
procedure to do so.

The reason you cannot use icompile is that passing
parameters to .r-code resolves references at runtime.

Icompile.p creates two files: ic*.lst and ic*.tmp and includes other
parameters. Ic*.tmp is a 4-GL program that compiles the files listed
in ic*.lst. Even if you compile/runtime and encrypt the ic*.tmp file,
it expects two parameters to be passed to it. In a runtime system,
you cannot pass parameters to .r-code.

Progress Software Technical Support Note # 12549