Shroud query
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jul 27, 2003
- 430 views
Rob, A small query: According to the documentation, and mostly agreeing with practice, shrouding a file only keeps the globals in the top level file global. (and please never make any non-optional changes to that! If eg I shroud -clear the following: include file.e global procedure Current_dir() current_dir() end procedure Then, agreeing with the docs, the global function current_dir() from file.e is no longer global, but it includes global integer my_dir (as it happens unnecessarily, but I'm not worried about that) and leaves it global in the shrouded file. This happens in a fair few cases, and I can't see a pattern to it. Is there some condition causing this I don't know about, is it a bug? Just curious, more than anything else, Pete