共用方式為


Set Radix Command

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Sets or returns the numeric base used to display integer values.

Syntax

Debug.SetRadix [10 | 16 | hex | dec]

Arguments

10 or 16 or hex or dec

Optional. Indicates decimal (10 or dec) or hexadecimal (16 or hex). If an argument is omitted, then the current radix value is returned.

Example

This example sets the environment to display integer values in hexadecimal format.

>Debug.SetRadix hex

See also