All Constants

Name Unit Description
FPCVersionAtLeast322 ok_if_expressions_2

 

FPCVersionAtLeast422 ok_if_expressions_2

 

MyConst ok_if_expressions_2

Note: This does not compile in FPC. But PasDoc, for now, unifies symbols used in $if expressions with macros used during normal Pascal code parsing, so it actually replaces FPC_FULLVERSION below.

_2And6Is2 ok_if_expressions_2

 

_2Or4Is6 ok_if_expressions_2

 

_3Minus1IsNot4 ok_if_expressions_2

 

_3Minus2IsTrue ok_if_expressions_2

 

_3Plus1Is4 ok_if_expressions_2

 

_3Plus2Times2Is7 ok_if_expressions_2

 

_6And4Is4 ok_if_expressions_2

 

_APlusBIsAB ok_if_expressions_2

 

_Not0Is1 ok_if_expressions_2

This should be true because NOT as an exception swaps 0 and 1

_Not1Is0 ok_if_expressions_2

This should be true because NOT as an exception swaps 0 and 1

_Not3Plus5IsTrue ok_if_expressions_2

This should be true because NOT 3 = -4

_TrueXorTrueIsFalse ok_if_expressions_2