Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%SetFlags function


Old name
%SetFlagsV


Function
The function sets flags of a defined expression value. Result The result is a value of the same type as the expression.


Declaration


Blok kódu
languageesl
themeConfluence
UNIVAL  %SetFlags(
        in expression, 
        in @FlagName, 
   BOOL in FlagValue, 
          ... 
 )


Parameters


ExpressionExpression determining the eval tag value. It must be identical with the type of given eval tag.
@FlagNameFlag identification.
FlagValueValue of the flag defined by the parameter @FlagName.


Note
The same value may be assigned to flags with no value that is assigned by this function. Assignment of a value to such flags is performed using the character X as the argument of FlagName (@X). For example : the following function
 



Blok kódu
languageesl
themeRDark
 %SetFlags(X.DayCOPDH*1.5, @A, PDH_N, @X, @FALSE)


 


assigns a value of the expression PDH_N to the flag A and the value False to another other flags B up to P. If the argument @X is not entered, unset other flags are unchanged. During When the object generationis created, the values of all its flags are FALSE.


Example


Blok kódu
languageesl
themeRDark
%SetFlags(X.DayCOPDH, @A, F_1, @C, F_2, @C, F_3, @X, @FALSE)