[Tutor] Problem with logic while extracting data from binary file

bob gailer bgailer at alum.rpi.edu
Thu Mar 27 23:43:00 CET 2008

Bryan Fodness wrote:
> Thanks again,

The problem is that parseSequence gets the length of the block, then, in 
effect, skips to the next block. That bypasses the sub-sequences you want.

parseSquence needs to examine the block for the sub-blocks beginning 
with \n0\x84\x00. This will probably require another while loop.

Do you use a debugger? It has been very helpful to me in tracking down 
the problem. What operating system are you running? What IDE or 
development tool are you using?


Bob Gailer
919-636-4239 Chapel Hill, NC

More information about the Tutor mailing list