What does INTEGER :: NOTDEF = '7FFFFFFF'X do?

Hi!

Can someone tell me what the following declaration/statement does?

INTEGER NOTDEF
NOTDEF='7FFFFFFF’X

I found it in my legacy code and it looks as if it passes a hex-code to an integer. My calculator says that this is decimal 2147483647. Can I just replace the assignment by

NOTDEF=2147483647 ?

Thanks!

Arjan

[/code]

Hi Arjan,

Use what’s easiest for you. I prefer the Hex value since I instantly know it’s the largest positive INTEGER*4 value.

  • Mat