Just change 

<$list filter="0 1 2 3 4 +[random[1]]" variable="n1" >

to

<$list filter="0 1 2 3 +[random[1]]" variable="n1" >

On Friday, July 14, 2017 at 1:29:29 PM UTC-7, @TiddlyTweeter wrote:
>
> Thanks Mark S.
>
> Yes 0000 to 3999 would work best. I can rename 4000 as 0000. Anything over 
> 4000 would hit a void.
>
> How should PMario's idea be modified for that?
>
> Best wishes
> Josiah
>
> On Friday, 14 July 2017 22:03:14 UTC+2, Mark S. wrote:
>>
>> D'oh! Very clever Pmario!
>>
>> That will actually make a number between 0000 and 4999. Perhaps a number 
>> between 0000 and 3999 would be acceptable? That's actually 4000 distinct 
>> numbers.
>>
>> Mark
>>
>> On Friday, July 14, 2017 at 11:20:23 AM UTC-7, PMario wrote:
>>>
>>> imo better: 
>>>
>>> \define number()$(n1)$$(n2)$$(n3)$$(n4)$
>>> <$list filter="0 1 2 3 4 +[random[1]]" variable="n1" >
>>> <$list filter="1 2 3 4 5 6 7 8 9 0 +[random[1]]" variable="n2" >
>>> <$list filter="1 2 3 4 5 6 7 8 9 0 +[random[1]]" variable="n3" >
>>> <$list filter="1 2 3 4 5 6 7 8 9 0 +[random[1]]" variable="n4" >
>>> <<number>>
>>> </$list>
>>> </$list>
>>> </$list>
>>> </$list>
>>>
>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/164c5ef7-2f1c-4a1e-8153-4a2428b0c554%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to