Htmltext: storing data in markup

David Bovill david at vaudevillecourt.tv
Thu Jan 27 10:38:00 EST 2011


Sounds good Ben

On 27 January 2011 14:20, Ben Rubinstein <benr_mc at cogapp.com> wrote:

>
> A technique I used a few years ago, which worked out well, was to use the
> low-order bits of the colour to code an ID that my code could associate with
> whatever it liked.  By reserving two bits each from R/G/B one immediately
> gets an ID space of 128, and I doubt if any user could tell the difference
> in the colour of the text.
>
...

> However I do recall that last time I mentioned it on a Rev list someone had
> what sounded like a far superior and simpler technique!
>

This sounds better :) Shake it a bit and maybe it will come back to you?



More information about the Use-livecode mailing list