It is also an error to refer to only a portion of a namespace in the uses clause. There is no mechanism to import all
units and symbols in a namespace. The following code does not import all units and symbols in the
MyCompany
namespace:
uses MyCompany; // ERROR!
This restriction also applies to the with-do statement. The following will produce a compiler error:
with MyCompany.Libs do // ERROR!
Dostları ilə paylaş: