Hi everyone,
I am accessing several binary (PCL) files sequentially using a for
loop. For each file I am using the fileget() command to populate the
contents of the file into a string. I use the following commands to
do so:
LengthofOverlay = FileLen(PCLOven_Burn_Directory & OverlayForm)
OverlayContent = StrDup(LengthofOverlay, "x")
Seek(OverlayInteger, 1)
FileGet(OverlayInteger, OverlayContent, , StringisFixedLength = False)
This works great for all of my PCL files except one. When it get to
that particular file, instead of populating the entire file into
"OverlayContent" it simply populates until it hits three escape
charaters in a row. This particular file has several sets of three
escape characters in sequence. I don't know why, and I don't
particularly care. Except for the fact that my fileget command won't
"cross" these escape characters!
Instead of populating "OverlayContent" with 5165 bytes of data (the
true length of this file), only 54 bytes get populated. Does anyone
know what significance three escape characters has for fileget() and
how I can coax it to ignore these?
Thanks,
Mike Cooper