SimCon logo

SimCon - Fortran Analysis, Engineering & Migration

  About UsDownloadsPurchaseHome

 
 
 
 
 
FPT - Converting Fortran HEX and Octal Numbers
HEX and Octal Numbers
FPT converts hexadecimal and octal numbers between the formats:

Fortran 90 / Salford / DEC / IBM

Z'FFFF' O'177777'

DEC / IBM

'FFFF'X '177777'O

DEC / IBM

'FFFF'Z

Compaq / HTML

#FFFFFF

Compaq

16#FFFFFF 8#177777

DEC / IBM / Gould-SEL

X'FFFF'

Intel

#FFFFH #177777O

Gould-SEL HEX

4ZFFFF

TopExpress

?'FFFF'X

?'177777'O

PDP11 / VAX Compatibility Octal

"177777

FPT reads hex and octal numbers in all of these formats. By default, the formats are not changed in the FPT output files. The commands to change them systematically throughout the code are:

% change hex numbers
% change octal numbers

For further information, please refer to the FPT Command Reference Manual.

Copyright ©1995 to 2013 Software Validation Ltd. All rights reserved.