операция NOT

 
операция NOT
Следующий эксперт не компилируется

/*[[
Name := ForTest
Author := Copyright © 2002, Company
Link := http://www.company.com/
Lots := 1.00
Stop Loss := 0
Take Profit := 0
Trailing Stop := 0
]]*/

var: AAA(true), BBB(true) ;
if not BBB then
print ("Stage 1") ;
if not BBB and AAA then
print ("Stage 2") ;
if AAA and not BBB then
print ("Stage 3") ;

MetaEditor указывает на строку

if AAA and not BBB then

Тем не менее, если окружить "not BBB" круглыми скобками, все будет нормально.

Поправите?
Причина обращения: