Prism 6.0 User's Guide

Changing the Default Radix

By default, Prism prints and displays values as decimal numbers. You can change this default by issuing the set $radix command, specifying as a setting 2 (binary), 8 (octal), or 16 (hexadecimal). For example,

set $radix = 16

changes the default representation to hexadecimal. To reset the default to decimal, issue the command

set $radix = 10

You can override the default for an individual print or display operation. See " Printing and Displaying From the Command Window" and " Using the Options Menu".

The default setting also affects the display of argument values in procedures in the call stack; see " Displaying the Call Stack".