[Coco] String Packing
D. Bruce Moore
bruce at gracenote.ca
Sat Jan 27 08:39:15 EST 2018
I have used this code programmatically.
> On Jan 24, 2018, at 8:27 PM, tim franklinlabs.com <tim at franklinlabs.com> wrote:
>
> Yeah, that's it... But you had to do it command line... not programmed,
> right. And you were limited to 256 characters per pack because basic
> limits a string length.
> Cool, thanks.
>
> On January 24, 2018 at 8:21 PM "D. Bruce Moore" wrote:
>
> 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 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
> [1]Coco at maltedmedia.com
> [2]https://pairlist5.pair.net/mailman/listinfo/coco
>
> --
> Coco mailing list
> [3]Coco at maltedmedia.com
> [4]https://pairlist5.pair.net/mailman/listinfo/coco
>
> References
>
> 1. mailto:Coco at maltedmedia.com
> 2. https://pairlist5.pair.net/mailman/listinfo/coco
> 3. mailto:Coco at maltedmedia.com
> 4. https://pairlist5.pair.net/mailman/listinfo/coco
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
More information about the Coco
mailing list