Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
CodeView FORTRAN Constants
◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Numbers used in CodeView commands represent integer constants.
These constants are entered in the current input radix (base).
When you are using the FORTRAN expression evaluator, CodeView
recognizes any explicitly specified radix between 2 and 36
inclusive, as in 20#2G.
Syntax Description
digits Current radix
[radix]#digits Specified radix (default 16)
The FORTRAN radix specifiers can be used to override the current
radix. Note that a hexadecimal number can be entered in two ways.
For example, 3F hex could be entered as either #3F or 16#3F.
The default radix for CodeView is decimal. However, you can use
the Radix command to specify an octal or hexadecimal radix.
See: ◄Radix (N) Command►
When the current radix is hexadecimal, it is possible to enter an
argument that could be interpreted either as an identifier or as a
number. CodeView resolves the ambiguity by first searching for a
symbol (identifier) with that name. If no symbol is found,
CodeView interprets the value as a number. If you want to enter a
number that overrides an existing symbol, use the hexadecimal
format (#digits).
For example, if you enter ABC as an argument when the program
contains a variable or function named ABC, CodeView interprets the
argument as the symbol. If you want to enter ABC as a number,
enter it as #ABC.
-♦-