DefaultRadix Property

Home Page (Objects)OverviewFAQReference

Applies to: Debugger object

Gets or sets the default radix (number base) used by the debugger.

Syntax

object**.DefaultRadix** [=radix]

Parameters

object

An expression that evaluates to a Debugger object.

radix

A Long that sets the default radix. Possible values are:

  • 10   Represents base 10 (decimal).

  • 16   Represents base 16 (hexadecimal).

Remarks

The DefaultRadix property has the Long type.

In the Developer Studio user interface, you specify the default radix on the Debug tab of the Options dialog box (Tools menu, Options command).

Example

The following example displays and then sets the default radix to base 10:

PrintToOutputWindow(Debugger.DefaultRadix)
Debugger.DefaultRadix = 10