On Thursday, January 11, 2018 at 1:38:33 PM UTC+1, Simon Huber wrote:
>
> negative and floating numbers with a certain limitation in accuracy would 
> also be great
>

IMO negative numbers can be created with [addprefix[-]] 

floating point will be a problem. eg: 0 -> 99.99 will create about 10,000 
numbers. So users will create endless loops, without being aware. 
But you could use nested INTs. 

I was thinking about a syntax like: [create[1..100#04]] ... which would 
mean:

start: 1 .. including 1
stop: 100 .. including 100

format: #04 means
 use leading zeros
 use 4 digits

which would result in 0001 ... 0100 with every number in between

format: 1..100#03 means 001 ... 100

format: 1..100 means 1 ... 100

format: 33..55#03 means 033 ... 055

and so on. 

Just some thoughts. No promises.

The problem now is, that "start" stop may be variables. ... like 
[create<start>..<stop>#<format>] ... which is ugly, complex and the parser 
can't handle it at the moment.
-m



-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/0fc29ee8-b46a-4205-9146-d4c1ea3dc8b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to