Boian Mitov schrieb: > Hi Marco, > > You are wrong. They mean expression not block! This path of the discussion is useless. As soon as you make WriteLock a global/static var, delphi behaves the same as fpc: it creates a temp. ref. which is only cleaned at procedure exit.