Function
EN
Version 4.50
@CheckDefine
Misc
System
Text
Syntax
@CheckDefine(TEXT1);
Description
Checks whether a "term" (which can be used for conditional compilation) is defined or not.
If the "term" is defined, @CheckDefine NUMBER 1 (TRUE) back.
If the "term" is not defined, @CheckDefine NUMBER 0 (FALSE) back.
TEXT1 must not contain spaces (" ") or special characters (except underscore ("_")).
Example: @CheckDefine(TEXT1)
TEXT1:="TestDefine";
@Define(TEXT1);
Ret:=@CheckDefine(TEXT1);
@LogReport(Ret);
The "term" "TestDefine" is defined and then it is checked whether "TestDefine" is defined.
Since this happened before, Ret NUMBER 1 (TRUE) is assigned and returned by @LogReport in the APILog fromgegen.
Note : This text was machine-translated and may contain inaccuracies.
