DTRHELP.HLB  —  Functions  FN$HEX_TO_DEC, Examples
       The following example returns the integer equivalent to the
       hexadecimal value FF.

       DTR> PRINT FN$HEX_TO_DEC ("FF")

         FN$HEX
           TO
          DEC

               255

       DTR>

       The following example shows how the FN$HEX_TO_DEC function can be
       used to calculate the numeric value of the address of the first
       free page at the end of the program region of the process.

       DTR> PRINT FN$HEX_TO_DEC (FN$PROCESS_INFO ("FREP0VA" VIA -
       CON> JPI_CODES))

         FN$HEX
           TO
          DEC

           7991296

       DTR>
Close Help