M
Mike Fechner
Guest
Ask the one who installed OpenEdge for youi. Or just try to execute uncompiled code and see if it runs or errors. We use the following code to test for it at runtime. /*------------------------------------------------------------------------------ Purpose: Returns if the current session allows compilation of ABL source code Notes: Compiles a non existing .p file (random file name) and tests the error message. ** Compiler is not available in this version of PROGRESS. (494) @return Logical value indicating if the current session allows compilation ------------------------------------------------------------------------------*/ METHOD PUBLIC STATIC LOGICAL AllowsCompile (): COMPILE VALUE (SUBSTITUTE ("&1.p":U, GUID)) . RETURN TRUE . CATCH e AS Progress.Lang.Error : IF e:GetMessageNum (1) = 494 THEN RETURN FALSE . ELSE RETURN TRUE . END CATCH. END METHOD.
Continue reading...
Continue reading...