Just to verify...

$X=1 <--- That's global, right? If I don't use DIM or GLOBAL an implicitly declared variable is GLOBAL?