I just finished reading Timm's source code thread for string compression
/decompression. I was wondering about the use of BYTE PTRs and strings
(not ASCIIZ). In the source code posted, there are loops which:
What happens when the pointer reaches the end of the string? Are regular,
variable length strings also null terminated? How do those loops terminate
at the end of the string?
------------------
Bernard Ertl
/decompression. I was wondering about the use of BYTE PTRs and strings
(not ASCIIZ). In the source code posted, there are loops which:
Code:
pBytePtr = STRPTR( sSomeString) WHILE @pBytePtr INCR pBytePtr WEND
variable length strings also null terminated? How do those loops terminate
at the end of the string?
------------------
Bernard Ertl
Comment