New format/fwrite options

Jouni Rynö <>
Wed Mar 27 15:46:40 CET 2002


On Wed, 2002-03-27 at 10:25, Robert Virding wrote:
> By popular (:-) request I am adding two new options to format/fwrite for outputing integers
> in binary and hex, ~b and ~x. 

Thank you very much. I would not mind using precision always.

and ~X for uppercase hex-numbers ? (0xAB versus 0xab)

and ~B for IO ? (= 10) :-)

-- 

  Jouni Rynö                            mailto://Jouni.Ryno@fmi.fi/
                                        http://www.geo.fmi.fi/~ryno/
  Finnish Meteorological Institute      http://www.fmi.fi/
  Geophysical Research                  http://www.geo.fmi.fi/
  P.O.BOX 503                           Tel      (+358)-9-19294656
  FIN-00101 Helsinki                    FAX      (+358)-9-19294603
  Finland                               priv-GSM (+358)-50-5302903
  
  "It's just zeros and ones, it cannot be hard"






More information about the erlang-questions mailing list