Right. The `use' clause simply means you don't have to include the name of the unit where `Put_Line' is defined, but you can do so if you wish to.

Ada includes some other mechanisms to reduce program wordiness. For example, you can "rename" packages so you can use shorter names. Ada predefines "Text_IO" as a shorter name for "Ada.Text_IO".

You may go to the next section.

You may also:

PREVIOUS Go back to the question

OUTLINE  Go up to the outline of lesson 1

David A. Wheeler (dwheeler@dwheeler.com)

The master copy of this file is at "http://www.adahome.com/Tutorials/Lovelace/s1s3r1.htm".