Funkcji logiczne

[ ] indicates optional parameters

FAŁSZ()
JEŻELI(test_logiczny, [wartość_jeżeli_prawda], [wartość_jeżeli_fałsz])
LUB(logiczna1, [logiczna2, ...])
NIE(logiczna)
ORAZ(logiczna1, [logiczna2, ...])
PRAWDA()


Funkcji logiczne

FAŁSZ()

Returns the logical value FAŁSZ.



JEŻELI(test_logiczny, [wartość_jeżeli_prawda], [wartość_jeżeli_fałsz])

Returns one of two other values depending no whether the logical test evaluates to PRAWDA or FAŁSZ.

test_logicznyAn expression that results in PRAWDA or FAŁSZ.
wartość_jeżeli_prawdaThe value to be returned of the logical test is PRAWDA. If this parameter is omitted it defaults to 0.
wartość_jeżeli_fałszThe value to be returned of the logical test is FAŁSZ. If this parameter is omitted it defaults to FAŁSZ.


LUB(logiczna1, [logiczna2, ...])

Returns PRAWDA if any of the input values are PRAWDA.

logiczna1, ...The values that you want to check.


NIE(logiczna)

Returns PRAWDA if the input expression evaluates to FAŁSZ, and vice versa.

logicznaThe logical expression for which you want the opposite value.


ORAZ(logiczna1, [logiczna2, ...])

Returns PRAWDA if all of the input values are PRAWDA.

logiczna1, ...The values that you want to check.


PRAWDA()

Returns the logical value PRAWDA.