Here is the unpack() function and a stranslate() function it calls.
##
## unpack function - takes a number in packed format and unpacks it.
## - returns a signed number
function unpack( num_packed )
{
num_length = length( num_packed );
num_strip = substr( num_packed ...
I use this script to process file of 275,000 type '4' records.
Sometimes it fails with an error:
"Out of memory error"
If I comment out some of the total lines and rerun it will then finish.
I had a print statement in the Type 2 code section. There are about 2700 of these records.
Any...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.