Indicates whether the code is run from a code written in a user macro-code. For example, in the code of a procedure, alllows you to find out whether the procedure was run from a User Macro-Code or not.
// Code run from UMC?
PROCEDURE Check()
...
IF InUMCMode() = True THEN
// Procedure run from UMC
...
ELSE
// Standard case
// Process to perform
...
END
Syntax
<Result>: Boolean
- True if the code is run from a User Macro-Code,
- False otherwise.
Remarks
Availability of the function
InUMCMode can be used in all IDEs to allow for cross-platform code. Functions or procedures that use InUMCMode can be shared between several products without generating any compilation error.
Business / UI classification: Neutral code