Another way to avoid name clashes is to only use those objects which are necessary. It has the following form:
USEmodule-name
[ ONLY
:
only-list
...]
The only-list
can also contain renames (
=>
).
For example,
USE HOUSE_DEF, ONLY:HOME => HOUSE, & GET_HOME => GET_HOUSEOnly HOME and GET_HOME are made accessible.
The ONLY statement gives the compiler the option of including only those entities specifically named.
For more information, click here