My example code actually demonstrates this behavior. This is also described in the KiXtart Manual under the setion dealing with DIMming variables and the different scopes they can have.

John: Please take a look at the KiXtart Manual.
_________________________
There are two types of vessels, submarines and targets.