InitializeGlobalOptionsAndVars() Should only be used to initialize GLOBAL vars, if at all. DIM works local to the level it's beign called. See the KiXtart Manual for explanantions of scoping. A DIMmed variable inside a function will exist only inside that function.
_________________________
There are two types of vessels, submarines and targets.