[Coco] String Packing

tim franklinlabs.com tim at franklinlabs.com
Wed Jan 24 21:27:05 EST 2018


   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


More information about the Coco mailing list