Just for fun. Convert 0-255 to Hex.

*<$vars hexlist="0 1 2 3 4 5 6 7 8 9 A B C D E F">*
*<$list filter="[range[31,40]]" variable=dec>*
*<$list filter="[<dec>divide[16]trunc[]add[1]]" variable="byte">*
*<$list filter="[<dec>remainder[16]add[1]]" variable="bit">*
*<$list 
filter="[enlist<hexlist>nth<byte>]=[enlist<hexlist>nth<bit>]+[join[]]" 
variable="hex1">*
*<<dec>> <<hex1>> <br/>*
*</$list></$list></$list></$list>*
*</$vars>*

On Monday, November 30, 2020 at 3:09:46 AM UTC-8 TiddlyTweeter wrote:

>
> *So.* My query is whether there might be a way to feed hex numbers 
> (convert to decimal first?) to Range so we could at least feed in hex even 
> if the number crunching is digital?
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91ba1cbe-c548-4f7e-a7a2-98f81b2e689an%40googlegroups.com.

Reply via email to