There is a code:
if (Mtext(stID) = True) or (Mtext(stID) = False) then... how to perform regardless of the result Mtext = True or False or
if (Mtext(stID)) or not(Mtext(stID)) then... Is there an easier option?
There is a code:
if (Mtext(stID) = True) or (Mtext(stID) = False) then... how to perform regardless of the result Mtext = True or False or
if (Mtext(stID)) or not(Mtext(stID)) then... Is there an easier option?
Source: https://ru.stackoverflow.com/questions/634139/
All Articles
(Mtext(stID) = True) or (Mtext(stID) = False)always true (well, unless your case is a ternary boolean) - KoVadimMtext(a: Integer): Variantresult isMtext(a: Integer): Variant- Kromsterif NULL = True then .. else if NULL = False then .. else ..- the 3rd branch will work. I myself was surprised when I saw this in code, but it works that way. - Kromster