next up previous contents
Next: Intrinsics Up: Modules Previous: The USE Renames Facility

USE ONLY Statement

Another way to avoid name clashes is to only use those objects which are necessary. It has the following form:

 
USE  tex2html_wrap_inline43037  module-name  tex2html_wrap_inline43039  [ ONLY: tex2html_wrap_inline43037  only-list  tex2html_wrap_inline43039 ...]

The tex2html_wrap_inline43037  only-list tex2html_wrap_inline43039 can also contain renames (=>).

For example,

    USE HOUSE_DEF, ONLY:HOME => HOUSE, &
           GET_HOME => GET_HOUSE
Only 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 gif


next up previous contents
Next: Intrinsics Up: Modules Previous: The USE Renames Facility

Adam Marshall ©University of Liverpool, 1996
Fri Dec 6 18:56:08 GMT 1996
Not for commercial use.