Boolean type can accept Yes/No and True/False values.
However, if Yes/No is used, it must be explicitly called.
Eg.
This Works
----------------------------------
BooleanTest := True
If BooleanTest THEN
Message ('true!');
----------------------------------
This does not work
----------------------------------
BooleanTest := Yes
If BooleanTest THEN
Message ('true!');
-----------------------------------
This works
----------------------------------
BooleanTest := Yes
If BooleanTest = TRUE THEN
Message ('true!');
-----------------------------------
No comments:
Post a Comment