No, sorry, 'x' isn't allowed in numeric literals. In the programming languages C and C++, hexadecimal "50" is written as 0x50. The way to write the same literal in Ada is 16#50#.

You may go back to the question

You may also:

NEXT     Skip to the next section.

OUTLINE  Go up to the outline of lesson 3

David A. Wheeler (dwheeler@dwheeler.com)

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