Hexadecimal and whatever...
- Posted by The Reaper <reaper at LOKI.ATCON.COM> Apr 15, 1997
- 935 views
Okay. I get this BRILLIANT idea and decide to star reading bytes from files. I need to make it a number, so I use bytes_to_int to change a set of four bytes. Truth is, I'm seeing if I can read data in from a MIDI file (don't ask me why), and I read in the integer 101053452 (well, not exactly), but I'm supposed to get the hexadecimal 00000006. Anyways, I think the problem is that I need to read the bytes directly into hexadecimal. Anyone know how to do that? P.S. Anyone know what I'm talking about? =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= The Reaper (J. Lays) http://www.geocities.com/TimesSquare/Alley/4444/ reaper at auracom.com Check out my Euphoria Games page at: -= http://www.geocities.com/TimesSquare/Alley/4444/eugames.html ........................ . .. -||..........__...... "There is a silence before a storm, . / ||......../-- \\.:::: A calm that is spent in fear; . ..| ||...... / | |.::: But if that time was spent running, .| _-||.......|| / /.:::: There may be nothing to be afraid of." ..| |..||...... -\_- \ |\-.::: .| |.[< \ .../ \.:: .||.|||\|\ | - - . \.:::: ...|.\|| | \ | | |.:::. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-