You can use the NOT
keyword in place of !
.
inverse boolean Navision
-
29-11-2021 - |
Domanda
Is there a more easy way to inverse a boolean instead of using a IF ELSE construction?
Normally I would use the ! infront of a boolean value. But that doesn't do the trick in Navision
Soluzione
Altri suggerimenti
You can use this example to invert a boolean variable Value:
PROCEDURE InvertValue(VAR Value @ Boolean;);
begin
Value := NOT Value;
end;
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow