[Coco] String Packing

D. Bruce Moore bruce at gracenote.ca
Wed Jan 24 21:21:12 EST 2018


> V=PEEK(VARPTR(WW$)+2)*256+PEEK(VARPTR(WW$)+3)

this is the start of the string.  poke whatever you want into it!




> On Jan 24, 2018, at 8:05 PM, tim franklinlabs.com <tim at franklinlabs.com> wrote:
> 
>   Years ago, I remember using a method in basic to pack a string with
>   extended data such as extended ASCII and binary programs. The data was
>   stored in a string and saved with the program. When the program was
>   loaded, the data was already packed and there was no need to pull it
>   out of a data line.
>   Does anyone remember this technique? And remember how to do it?
> 
>   Just curious... I'm old and can't remember hoe it was done.
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list